[FLASH-USERS] Error When Running LaserSlab On FLASH 4.6.1
Klaus Weide
klaus at flash.uchicago.edu
Thu Jan 7 22:09:15 EST 2021
On Thu, 7 Jan 2021, Jared Guzman wrote:
> "Burn_interface.o" and/or "for_main.o" do *not* have a main function, and
> that is why the reference to main is undefined? I will look into building
> with gfortran and formatting my Makefile as such. Thanks!
The messages relating to missing MAIN__ are very likely a result of '-c'
missing from the compilation command.
You can just construct the command by hand that MAKE *should* have
constructed for you, and execute it from the shell prompt. That should
tell you if it's just MAKE that's behaving strangely. So just type
(or copy and paste)
/opt/apps/intel15_3/openmpi/3.0.0/bin/mpif90 -c -g -r8 -i4 -O3 -real_size 64 -diag-disable 10120 -I /opt/apps/intel15_3/openmpi3_0/phdf5/1.8.16/include -DH5_USE_16_API -DMAXBLOCKS=1000 -DNXB=8 -DNYB=8 -DNZB=1 -DN_DIM=2 Burn_interface.F90
(Yes, that's one long line.)
See whether this produces files
Burn_interface.o
burn_interface.mod
for you.
Klaus
More information about the flash-users
mailing list