[FLASH-USERS] Issues Compiling Laser Slab Simulation

Jared Guzman jag21791 at vt.edu
Tue Jan 5 18:37:38 EST 2021


All,

I am trying to run the LaserSlab simulation and am running into a compiler
issue. The
setup line I am using is

./setup -auto LaserSlab -2d -nxb=16 -nyb=16 +hdf5typeio species=cham,targ
+mtmmmt +laser +uhd3t +mgd mgd_meshgroups=6 -site=jag21791.vt.edu
-without-unit=physics/sourceTerms/EnergyDeposition/EnergyDepositionMain/Laser/LaserIO
-parfile=example.par -objdir=object/lasslab

This sets up fine, but when I cd into object/lasslab and run 'make', i get
the following error:

*[jag21791 at calogin1 FLASH4.6.1]$* cd object/lasslab/
*[jag21791 at calogin1 lasslab]$* make -j4
Calculating dependencies
./setup_depends.py --generateINTERMEDIATElines
-I/work/cascades/jag21791/HYPRE/include  -I
/opt/apps/intel15_3/openmpi3_0/phdf5/1.8.16/include -DH5_USE_16_API
-I/opt/apps/intel15_3/openmpi3_0/phdf5/1.8.16/include -DH5_USE_16_API
-I/work/cascades/jag21791/HYPRE/include  *.f *.f90 *.F90 *.F
./setup_addcdepends.py
-I/opt/apps/intel15_3/openmpi3_0/phdf5/1.8.16/include -DH5_USE_16_API
-I/work/cascades/jag21791/HYPRE/include  *.c
rm -f reorder.sh
/opt/apps/intel15_3/openmpi/3.0.0/bin/mpif90
-I/work/cascades/jag21791/HYPRE/include  -I
/opt/apps/intel15_3/openmpi3_0/phdf5/1.8.16/include -DH5_USE_16_API
-DFLASH_3T -DMAXBLOCKS=1000 -DNXB=16 -DNYB=16 -DNZB=1 -DN_DIM=2
Burn_interface.F90
/opt/apps/intel15_3/openmpi/3.0.0/bin/mpif90
-I/work/cascades/jag21791/HYPRE/include  -I
/opt/apps/intel15_3/openmpi3_0/phdf5/1.8.16/include -DH5_USE_16_API
-DFLASH_3T -DMAXBLOCKS=1000 -DNXB=16 -DNYB=16 -DNZB=1 -DN_DIM=2
IncompNS_interface.F90
/opt/apps/intel15_3/openmpi/3.0.0/bin/mpif90
-I/work/cascades/jag21791/HYPRE/include  -I
/opt/apps/intel15_3/openmpi3_0/phdf5/1.8.16/include -DH5_USE_16_API
-DFLASH_3T -DMAXBLOCKS=1000 -DNXB=16 -DNYB=16 -DNZB=1 -DN_DIM=2
gr_pmFlashHookData.F90
/opt/apps/intel15_3/openmpi/3.0.0/bin/mpif90: error while loading shared
libraries: libimf.so/opt/apps/intel15_3/openmpi/3.0.0/bin/mpif90: : cannot
open shared object fileerror while loading shared libraries: : No such file
or directorylibimf.so
: cannot open shared object file: No such file or directory
make: *** [Burn_interface.o] Error 127
make: *** Waiting for unfinished jobs....
make: *** [IncompNS_interface.o] Error 127
/opt/apps/intel15_3/openmpi/3.0.0/bin/mpif90: error while loading shared
libraries: libimf.so: cannot open shared object file: No such file or
directory
make: *** [gr_pmFlashHookData.o] Error 127
[jag21791 at calogin1 lasslab]$ module load intel/15.3
[jag21791 at calogin1 lasslab]$ module load openmpi/3.0.0
[jag21791 at calogin1 lasslab]$ module load phdf5/1.8.16
[jag21791 at calogin1 lasslab]$ make -j4
rm -f reorder.sh
/opt/apps/intel15_3/openmpi/3.0.0/bin/mpif90
-I/work/cascades/jag21791/HYPRE/include  -I
/opt/apps/intel15_3/openmpi3_0/phdf5/1.8.16/include -DH5_USE_16_API
-DFLASH_3T -DMAXBLOCKS=1000 -DNXB=16 -DNYB=16 -DNZB=1 -DN_DIM=2
Burn_interface.F90
/opt/apps/intel15_3/openmpi/3.0.0/bin/mpif90
-I/work/cascades/jag21791/HYPRE/include  -I
/opt/apps/intel15_3/openmpi3_0/phdf5/1.8.16/include -DH5_USE_16_API
-DFLASH_3T -DMAXBLOCKS=1000 -DNXB=16 -DNYB=16 -DNZB=1 -DN_DIM=2
IncompNS_interface.F90
/opt/apps/intel15_3/openmpi/3.0.0/bin/mpif90
-I/work/cascades/jag21791/HYPRE/include  -I
/opt/apps/intel15_3/openmpi3_0/phdf5/1.8.16/include -DH5_USE_16_API
-DFLASH_3T -DMAXBLOCKS=1000 -DNXB=16 -DNYB=16 -DNZB=1 -DN_DIM=2
gr_pmFlashHookData.F90
/opt/apps/intel15_3/openmpi/3.0.0/bin/mpif90
-I/work/cascades/jag21791/HYPRE/include  -I
/opt/apps/intel15_3/openmpi3_0/phdf5/1.8.16/include -DH5_USE_16_API
-DFLASH_3T -DMAXBLOCKS=1000 -DNXB=16 -DNYB=16 -DNZB=1 -DN_DIM=2
ut_sysMemData.F90
/arcapps/cascades-broadwell-slurm/opt/apps/intel/15.3/composer_xe_2015.3.187/compiler/lib/intel64/for_main.o:
In function `main':
for_main.c:(.text+0x2a): undefined reference to `MAIN__'
make: *** [gr_pmFlashHookData.o] Error 1
make: *** Waiting for unfinished jobs....
/arcapps/cascades-broadwell-slurm/opt/apps/intel/15.3/composer_xe_2015.3.187/compiler/lib/intel64/for_main.o:
In function `main':
for_main.c:(.text+0x2a): undefined reference to `MAIN__'
/arcapps/cascades-broadwell-slurm/opt/apps/intel/15.3/composer_xe_2015.3.187/compiler/lib/intel64/for_main.o:
In function `main':
for_main.c:(.text+0x2a): undefined reference to `MAIN__'
/arcapps/cascades-broadwell-slurm/opt/apps/intel/15.3/composer_xe_2015.3.187/compiler/lib/intel64/for_main.o:
In function `main':
for_main.c:(.text+0x2a): undefined reference to `MAIN__'
make: *** [ut_sysMemData.mod] Error 1
make: *** [Burn_interface.o] Error 1
make: *** [IncompNS_interface.o] Error 1

my dependencies and Makefile locations are setup correctly, and I have
attached my Makefile for reference.

Any ideas as to why the issues with *for_main.c*? Or what might be causing
any of the undefined reference errors?

Best,

Jared

-- 
*Jared Guzman*
*B.S. Physics 2019*
*M.S. Aerospace Engineering 2022*
*Virginia Tech*
*540-419-6027 | jag21791 at vt.edu <jag21791 at vt.edu>*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://flash.rochester.edu/pipermail/flash-users/attachments/20210105/62cfb682/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Makefile.h
Type: text/x-chdr
Size: 7281 bytes
Desc: not available
URL: <http://flash.rochester.edu/pipermail/flash-users/attachments/20210105/62cfb682/attachment.bin>


More information about the flash-users mailing list