<div dir="ltr">All,<br><br>I am trying to run the LaserSlab simulation and am running into a compiler issue. The<br>setup line I am using is<br><br>./setup -auto LaserSlab -2d -nxb=16 -nyb=16 +hdf5typeio species=cham,targ +mtmmmt +laser +uhd3t +mgd mgd_meshgroups=6 -site=<a href="http://jag21791.vt.edu">jag21791.vt.edu</a> -without-unit=physics/sourceTerms/EnergyDeposition/EnergyDepositionMain/Laser/LaserIO -parfile=example.par -objdir=object/lasslab<br><br>This sets up fine, but when I cd into object/lasslab and run 'make', i get the following error:<br><br><b>[jag21791@calogin1 FLASH4.6.1]$</b> cd object/lasslab/<br><b>[jag21791@calogin1 lasslab]$</b> make -j4<br>Calculating dependencies<br>./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 <br>./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<br>rm -f reorder.sh<br>/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<br>/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<br>/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<br>/opt/apps/intel15_3/openmpi/3.0.0/bin/mpif90: error while loading shared libraries: <a href="http://libimf.so/opt/apps/intel15_3/openmpi/3.0.0/bin/mpif90">libimf.so/opt/apps/intel15_3/openmpi/3.0.0/bin/mpif90</a>: : cannot open shared object fileerror while loading shared libraries: : No such file or directorylibimf.so<br>: cannot open shared object file: No such file or directory<br>make: *** [Burn_interface.o] Error 127<br>make: *** Waiting for unfinished jobs....<br>make: *** [IncompNS_interface.o] Error 127<br>/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<br>make: *** [gr_pmFlashHookData.o] Error 127<br>[jag21791@calogin1 lasslab]$ module load intel/15.3 <br>[jag21791@calogin1 lasslab]$ module load openmpi/3.0.0<br>[jag21791@calogin1 lasslab]$ module load phdf5/1.8.16 <br>[jag21791@calogin1 lasslab]$ make -j4<br>rm -f reorder.sh<br>/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<br>/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<br>/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<br>/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<br>/arcapps/cascades-broadwell-slurm/opt/apps/intel/15.3/composer_xe_2015.3.187/compiler/lib/intel64/for_main.o: In function `main':<br>for_main.c:(.text+0x2a): undefined reference to `MAIN__'<br>make: *** [gr_pmFlashHookData.o] Error 1<br>make: *** Waiting for unfinished jobs....<br>/arcapps/cascades-broadwell-slurm/opt/apps/intel/15.3/composer_xe_2015.3.187/compiler/lib/intel64/for_main.o: In function `main':<br>for_main.c:(.text+0x2a): undefined reference to `MAIN__'<br>/arcapps/cascades-broadwell-slurm/opt/apps/intel/15.3/composer_xe_2015.3.187/compiler/lib/intel64/for_main.o: In function `main':<br>for_main.c:(.text+0x2a): undefined reference to `MAIN__'<br>/arcapps/cascades-broadwell-slurm/opt/apps/intel/15.3/composer_xe_2015.3.187/compiler/lib/intel64/for_main.o: In function `main':<br>for_main.c:(.text+0x2a): undefined reference to `MAIN__'<br>make: *** [ut_sysMemData.mod] Error 1<br>make: *** [Burn_interface.o] Error 1<br>make: *** [IncompNS_interface.o] Error 1<br><br>my dependencies and Makefile locations are setup correctly, and I have attached my Makefile for reference.<br><br>Any ideas as to why the issues with <b>for_main.c</b>? Or what might be causing any of the undefined reference errors?<br><br>Best,<br><br>Jared <br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><b><i><font face="monospace">Jared Guzman</font></i></b><div><b><i><font face="monospace">B.S. Physics 2019</font></i></b></div><div><b><i><font face="monospace">M.S. Aerospace Engineering 2022</font></i></b></div><div><b><i><font face="monospace">Virginia Tech</font></i></b></div><div><b><i><font face="monospace">540-419-6027 | <a href="mailto:jag21791@vt.edu" target="_blank">jag21791@vt.edu</a></font></i></b></div></div></div></div>