Building ROMS

Discussion on computers, ROMS installation and compiling

Moderators: arango, robertson

Post Reply
Message
Author
ravitejak
Posts: 4
Joined: Wed Dec 11, 2013 1:51 pm
Location: TCS

Building ROMS

#1 Unread post by ravitejak »

HI,

I am facing issues while building ROMS on Xeon platform.
I am using intel compilers. My error is

/opt/intel/composer_xe_2013_sp1.0.080/bin/intel64/ifort -heap-arrays -fp-model precise -O2 -ip -O3 Build/esmf_roms.o Build/master.o Build/ocean_control.o Build/ocean_coupler.o Build/propagator.o Build/roms_export.o Build/roms_import.o -o oceanM Build/libUTIL.a Build/libNLM.a Build/libNLM_bio.a Build/libNLM_sed.a Build/libANA.a Build/libUTIL.a Build/libMODS.a -L$(NETCDF_HOME)/lib -lnetcdf
ifort: command line warning #10212: -fp-model precise evaluates in source precision with Fortran.
ipo: warning #11060: Build/libUTIL.a is an archive, but has no symbols (this can happen if ar is used where xiar is needed)
ipo: warning #11010: file format not recognized for Build/libUTIL.a
ipo: warning #11060: Build/libNLM.a is an archive, but has no symbols (this can happen if ar is used where xiar is needed)
ipo: warning #11010: file format not recognized for Build/libNLM.a
ipo: warning #11060: Build/libNLM_bio.a is an archive, but has no symbols (this can happen if ar is used where xiar is needed)
ipo: warning #11010: file format not recognized for Build/libNLM_bio.a
ipo: warning #11060: Build/libNLM_sed.a is an archive, but has no symbols (this can happen if ar is used where xiar is needed)
ipo: warning #11010: file format not recognized for Build/libNLM_sed.a
ipo: warning #11060: Build/libANA.a is an archive, but has no symbols (this can happen if ar is used where xiar is needed)
ipo: warning #11010: file format not recognized for Build/libANA.a
ipo: warning #11060: Build/libUTIL.a is an archive, but has no symbols (this can happen if ar is used where xiar is needed)
ipo: warning #11010: file format not recognized for Build/libUTIL.a
ipo: warning #11060: Build/libMODS.a is an archive, but has no symbols (this can happen if ar is used where xiar is needed)
ipo: warning #11010: file format not recognized for Build/libMODS.a
/opt/intel/composer_xe_2013_sp1.0.080/compiler/lib/intel64/for_main.o: In function `main':
/export/users/nbtester/efi2linux_nightly/branch-14_0/20130730_000000/libdev/frtl/src/libfor/for_main.c:(.text+0x42): undefined reference to `MAIN__'
make: *** [oceanM] Error 1

Prerequisites Versions and supplied configuration flags:
> icc 14.0.0
> zlib 1.2.8
CC= icc
> hdf5 1.8.12
CC="icc" CXX="icpc" F77="ifort" CFLAGS="-O2" CPPFLAGS="-O2" FFLAGS="-O2" --enable-fortran
> netcdf 4.3
CC="icc" FC="ifort" F90="ifort" CFLAGS="-O2" CXXFLAGS="-O2" FCFLAGS="-O2" CXX="icpc" LDFLAGS="-L($HDF_LIBS)
-L($ZLIB_LIBS)" CPPFLAGS="-I($HDF_INC) -I(ZLIB_LIBS)"
> netcdf-fortran 4.2
CC="icc" FC="ifort" F90="ifort" CPPFLAGS=-L$NETCDF_INC
> Instead of PARPACK I am using mkl
> ARPACK
FC = ifort FFLAGS = -O3
> MCT
FC=mpiifort, F90=ifort MPIF90=mpiifort FCFLAGS=”-O2” F90FLAGS=”-O2”

Thanks in advance.

User avatar
kate
Posts: 4088
Joined: Wed Jul 02, 2003 5:29 pm
Location: CFOS/UAF, USA

Re: Building ROMS

#2 Unread post by kate »

This is probably telling you the problem:

Code: Select all

Build/libUTIL.a is an archive, but has no symbols (this can happen if ar is used where xiar is needed)
Look in your Compilers/XX-XXX.mk file for lines like:

Code: Select all

               AR := ar
          ARFLAGS := -r
and replace them with what's right for your system.

Post Reply