[FLASH-USERS] looking for help

Zhang Chao walli1986 at hotmail.com
Tue Jun 14 23:14:13 EDT 2011


Dear all,

I am new to the flash code. when I follow the user's guide. I met lots of questions.

First, when I type "./setup Sedov -auto", "cd object" and "gmake", the error came out

[walli at localhost object]$ gmake
rm -f reorder.sh
/opt/software/mpich2-gnu/bin/mpif90 -c -O2 --tp4 -CcdRR8    -DMAXBLOCKS=1000 -DNXB=8 -DNYB=8 -DNZB=1 -DN_DIM=2 ut_interpolationInterface.F90
gfortran: unrecognized option '-CcdRR8'
cc1: error: unrecognized command line option "-ftp4"
gmake: *** [ut_interpolationInterface.o] Error 1


a part of my Makefile.h is that:


#----------------------------------------------------------------------------
# Set the HDF/HDF5 library paths -- these need to be updated for your system
#----------------------------------------------------------------------------


HDF5path   = /opt/hdf-1.6.5
MPIpath    = /opt/software/mpich2-gnu

PAPI_PATH  =
PAPI_FLAGS =

ZLIB_PATH  =

NCMPI_PATH = /opt/parallel-netcdf-1.0.2
MPE_PATH   =

#----------------------------------------------------------------------------
# Compiler and linker commands
#
#  We use the f90 compiler as the linker, so some C libraries may explicitly
#  need to be added into the link line.
#----------------------------------------------------------------------------

FCOMP      = ${MPIpath}/bin/mpif90
CCOMP      = gcc
CPPCOMP    = gcc
LINK       = ${MPIpath}/bin/mpif90


# pre-processor flag


PP         = -D

FFLAGS_OPT   = -c -O2 --tp4 -CcdRR8
FFLAGS_DEBUG = -c -g  --trace  --trap --chk[aes] -CcdRR8
FFLAGS_TEST  = -c -CcdRR8






should I change the "FFLAGS_OPT, FFLAGS_DEBUT, FFLAGS_TEST"?

I really don't know how to do this. Can anybody help me?


Best wishes,

Zhang Chao
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://flash.rochester.edu/pipermail/flash-users/attachments/20110615/c15809a1/attachment.htm>


More information about the flash-users mailing list