[Flash-X-users] CCSN_WLTransport_WH07_spark compilation error
kiyarash Taghiniyarami
kiyarash.niyarami at gmail.com
Sat Nov 25 13:25:44 CST 2023
Dear FlashX users,
After successful setup of 1D core collapse supernova with weaklib and
thornado library (./setup CCSN_WL_Transport -auto -1d +spherical -nxb=16
nE=16 swE=1 nSpecies=2 nNodes=2 nMoments=4 momentClosure=MINERBO
thorandoOrder=ORDER_V -parfile=flash.par -objdir=WLTransport_WH07_spark
+newMpole +spark +thornado +weaklib), I tried to compile it but then faced
the following error:
--------------------------
*/usr/bin/ld: Simulation_initBlock.o: in function
`simulation_initblock_':/home/taghinia/FX/WLTransport_WH07_spark/Simulation_initBlock.F90:369:
undefined reference to `renorm_mass_ye_'collect2: error: ld returned 1 exit
statusmake: *** [Makefile:320: flashx] Error 1*-------------------------
As I noticed in the *Simulation_initBlock.F90* the *renorm_mass_ye* is a
subroutine which is defined if *FLASH_MULTISPECIES* is present. so changing
the Config file and uncommenting the *#REQUIRES Multispecies *did not help
and comes with this error:
------------------------------------
*chimera_model.F90:472:72: 472 | call
Multispecies_getProperty(SPECIES_BEGIN + (i-1), A, aflash) |
1Error: Symbol
‘a’ at (1) has no IMPLICIT typechimera_model.F90:473:72: 473 | call
Multispecies_getProperty(SPECIES_BEGIN + (i-1), Z, zflash) |
1Error: Symbol
‘z’ at (1) has no IMPLICIT typemake: *** [Makefile:114: chimera_model.mod]
Error 1make: *** Waiting for unfinished jobs....amr_check_refine.F90:291:0:*
* 291 | if (neigh(1,jr,i).gt.0) then | Warning: ‘jr’ may
be used uninitialized in this function [-Wmaybe-uninitialized]*
---------------------------------------------------
Does anyone have any idea how to solve this issue?
Best,
Kiya
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cels.anl.gov/pipermail/flash-x-users/attachments/20231125/19ccf7b7/attachment.html>
More information about the Flash-X-users
mailing list