[FLASH-USERS] Error while trying to compile FLASH: command option NXB=8 contains an incorrect subargument

Christoper Daley cdaley at flash.uchicago.edu
Mon May 31 14:40:11 EDT 2010


Hi Huong,

I think you may be using the wrong compiler options.  Which compiler
are you using?  If you are using an XL compiler you must specify macro
definitions using -WF,-D.

Chris


On 31/05/10 13:17, huong luu wrote:
> Hi,
>
> I was trying to compile FLASH on my system. I had a SUCCESS for 
> ./setup *** -auto but when I do a gmake then I got this error:
>
> [luu1 at turing-4 object]$ gmake
> Calculating dependencies
> ./setup_depends.py --generateINTERMEDIATElines -c -O2 -fdefault-real-8 
> -fdefault-double-8 -ffree-line-length-none  -I /usr/include 
> -DH5_USE_16_API -O2  -c -std=c99 -Wno-long-long -O 
> -fomit-frame-pointer -finline-functions *.f *.f90 *.F90 *.F
> ./setup_addcdepends.py -I /usr/include -DH5_USE_16_API -O2  -c 
> -std=c99 -Wno-long-long -O -fomit-frame-pointer -finline-functions *.c
> rm -f reorder.sh
> /turing/home/luu1/install/mpich/bin/mpif90 -c -O2 -fdefault-real-8 
> -fdefault-double-8 -ffree-line-length-none  -DMAXBLOCKS=1000 -DNXB=8 
> -DNYB=8 -DNZB=1 -DN_DIM=2 ut_interpolationInterface.F90
> f90: 1501-274 (W) An incompatible level of gcc has been specified.
> f90: 1501-214 (W) command option M reserved for future use - ignored
> f90: 1501-210 (S) command option NXB=8 contains an incorrect subargument
> gmake: *** [ut_interpolationInterface.o] Error 40
>
> Since the command option NXB=8 is automatically generated, I don't 
> know how to fix it. I was being able to run FLASH on another machine 
> and am trying to repeat it here. I changed the path accordingly to the 
> new machine. So I don't know why I have this error.
>
> Any suggestion?
>
> Thanks in advance,
> Huong




More information about the flash-users mailing list