[FLASH-USERS] [EXTERNAL] Sedov compilation error

Hix, William Raphael raph at ornl.gov
Mon Dec 16 11:19:36 EST 2019


Hi All-

With the coming “demise” of python2, for example, NERSC will only provide Python3 on their next system, will the become a bigger problem?

					Raph

> On Dec 14, 2019, at 6:38 PM, Mateusz Ruszkowski <mateuszr at umich.edu> wrote:
> 
> 
> 
> 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> 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
>> 
>> 
> 

------------------------------------------------------------------------
William Raphael Hix                       Email:  raph at ornl.gov
Oak Ridge National Laboratory             Voice:  (865) 574-4716
P.O. Box 2008                               Fax:  (865) 241-5649
Oak Ridge, TN 37831-6354 



More information about the flash-users mailing list