[FLASH-USERS] Error When Running LaserSlab On FLASH 4.6.1

Jared Guzman jag21791 at vt.edu
Fri Jan 8 02:44:58 EST 2021


So running that line within my object directory creates the command,
however, new commands are now sought by the system, such as the one
attached. If i run the line you sent, replacing 'Burn_interface.F90' with
the missing command, then a new error pops up, repeating the same text just
missing a different one each time (i.e. create Burn_interface, but
ut_sysMemData.mod is missing, create ut_sysMemData.mod
but gr_pmFlashHookData.o is missing, creating that but IncompNS_interface.o
is missing, etc.)

There seem to be numerous commands missing, is there a way I can find out
all the files that havent been built by Make?

On Thu, Jan 7, 2021 at 10:42 PM Jared Guzman <jag21791 at vt.edu> wrote:

> Klaus,
>
> Sorry for the late reply, I will try that line. Do i repeat my process and
> write that line before i run make? or just run that line by itself
>
> On Thu, Jan 7, 2021 at 10:09 PM Klaus Weide <klaus at flash.uchicago.edu>
> wrote:
>
>> 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
>>
>
>
> --
> *Jared Guzman*
> *B.S. Physics 2019*
> *M.S. Aerospace Engineering 2022*
> *Virginia Tech*
> *540-419-6027 | jag21791 at vt.edu <jag21791 at vt.edu>*
>


-- 
*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/20210108/cb73e166/attachment.htm>
-------------- next part --------------
[jag21791 at calogin1 TEST]$ make
rm -f reorder.sh
/opt/apps/intel15_3/openmpi/3.0.0/bin/mpif90  -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 IncompNS_interface.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: *** [IncompNS_interface.o] Error 1



More information about the flash-users mailing list