[FLASH-USERS] Sedov error with Burn_interface.F90

g.granda at irya.unam.mx g.granda at irya.unam.mx
Thu Mar 8 00:55:34 EST 2018


Hello,

I'm trying to run the Sedov problem using FLASH 4.5, and I used the 
following Makefile.h :

Processing Shortcut file: 
/home/guido/flash_dir/FLASH4.5/bin/setup_shortcuts.txt
checking for needed files and directories
     using site directory for site asus.rog
scanning /home/guido/flash_dir/FLASH4.5/object/Units file for included 
units
     Driver/DriverMain/Unsplit
     Driver/localAPI
     Grid/GridBoundaryConditions
     Grid/GridMain/paramesh/interpolation/Paramesh4/prolong
     Grid/GridMain/paramesh/interpolation/prolong
     Grid/GridMain/paramesh/paramesh4/Paramesh4dev/PM4_package/headers
     Grid/GridMain/paramesh/paramesh4/Paramesh4dev/PM4_package/mpi_source
     Grid/GridMain/paramesh/paramesh4/Paramesh4dev/PM4_package/source
     
Grid/GridMain/paramesh/paramesh4/Paramesh4dev/PM4_package/utilities/multigrid
     Grid/GridMain/paramesh/paramesh4/Paramesh4dev/flash_avoid_orrery
     Grid/localAPI
     IO/IOMain/hdf5/serial/PM
     IO/localAPI
     PhysicalConstants/PhysicalConstantsMain
     RuntimeParameters/RuntimeParametersMain
     Simulation/SimulationMain/Sedov
     flashUtilities/contiguousConversion
     flashUtilities/general
     flashUtilities/interpolation/oneDim
     flashUtilities/nameValueLL
     flashUtilities/sorting/quicksort
     flashUtilities/system/memoryUsage/legacy
     monitors/Logfile/LogfileMain
     monitors/Timers/TimersMain/MPINative
     physics/Eos/EosMain/Gamma
     physics/Eos/localAPI
     physics/Hydro/HydroMain/unsplit/Hydro_Unsplit
     physics/Hydro/localAPI
Computing default values for options not specified on command line
Using Makefile.h: 
/home/guido/flash_dir/FLASH4.5/sites/asus.rog/Makefile.h
generating Makefile
Copying data files: 3 copied
SUCCESS

Afterward, I git the next error:


guido at asusrog:~/flash_dir/FLASH4.5$ cd
bin/    docs/   lib/    object/ sites/  source/ tools/
guido at asusrog:~/flash_dir/FLASH4.5$ cd object/
guido at asusrog:~/flash_dir/FLASH4.5/object$ make
Calculating dependencies
./setup_depends.py --generateINTERMEDIATElines   -c 
-I/usr/local/hdf5/include  -DH5_USE_16_API -I/usr/local/bin/include 
-L/usr/local/bin/lib  -L/usr/local/hdf5/lib  -L/usr/lib  -I/usr/include 
-lhdf5 -lrfftw_mpi -lfftw_mpi -lrfftw *.f *.f90 *.F90 *.F
./setup_addcdepends.py -c -I/usr/local/hdf5/include  -DH5_USE_16_API 
-I/usr/local/bin/include -L/usr/local/bin/lib  -L/usr/local/hdf5/lib  
-L/usr/lib  -I/usr/include -lhdf5 -lrfftw_mpi -lfftw_mpi -lrfftw *.c
rm -f reorder.sh
/usr/local/bin/mpif90   -DMAXBLOCKS=1000 -DNXB=8 -DNYB=8 -DNZB=1 
-DN_DIM=2 Burn_interface.F90
/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/crt1.o: In 
function `_start':
(.text+0x20): undefined reference to `main'
collect2: error: ld returned 1 exit status
Makefile:113: recipe for target 'Burn_interface.o' failed
make: *** [Burn_interface.o] Error 1


Could please help me to find what is the error? I think that I provided 
the libraries' paths correctly.


Kind Regards,






More information about the flash-users mailing list