[FLASH-USERS] Sedov compilation error
Mateusz Ruszkowski
mateuszr at umich.edu
Sat Dec 14 18:38:50 EST 2019
Hi,
It turns out this was a Python setup issue. That is, setup.py and setup_depends.py are not compatible with python3 that is used on my system by default.
Consequently, Makefile.Depend did not get automatically generated in the object directory and dependencies were wrong.
Switching to python2, redoing the setup, and compiling fixed the problem.
Cheers,
Mateusz
> On Dec 14, 2019, at 8:43 AM, Eddie Hansen <ehansen at flash.uchicago.edu> wrote:
>
> This looks like a setup issue. Probably a unit missing from the Config file. Can you send the output when you run setup and send your Config file from the Sedov directory?
>
> On Fri, Dec 13, 2019, 9:46 PM Mateusz Ruszkowski <mateuszr at umich.edu <mailto:mateuszr at umich.edu>> wrote:
>
>
> Hi,
>
> I am trying to compile straight out-of-the-box version of the Sedov problem (FLASH version 4.2.2). I set up the problem via:
>
> ./setup Sedov -3d -auto
>
> and then attempted to compile but got the following error:
>
> mpif90 -fpic -i_dynamic -mcmodel=medium -c -r8 -i4 -O3 -real_size 64 -fp-model precise -DMAXBLOCKS=200 -DNXB=8 -DNYB=8 -DNZB=8 -DN_DIM=3 Conductivity.F90
> ifort: command line remark #10148: option '-i_dynamic' not supported
> Conductivity.F90(60): error #7002: Error in opening the compiled module file. Check INCLUDE paths. [CONDUCTIVITY_INTERFACE]
> use Conductivity_interface, ONLY: Conductivity
> ------^
> Conductivity.F90(81): error #6406: Conflicting attributes or multiple declaration of name. [CONDUCTIVITY]
> call Conductivity(solnVec(7),solnVec(1), &
> -------^
> Conductivity.F90(60): error #6580: Name in only-list does not exist or is not accessible. [CONDUCTIVITY]
> use Conductivity_interface, ONLY: Conductivity
> ------------------------------------^
> compilation aborted for Conductivity.F90 (code 1)
> Makefile:115: recipe for target 'Conductivity.o' failed
> gmake: *** [Conductivity.o] Error 1
>
> Any idea why this is happening?
>
> Thanks,
> Mateusz
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://flash.rochester.edu/pipermail/flash-users/attachments/20191214/b189735f/attachment-0001.htm>
More information about the flash-users
mailing list