Hello everyone,
I am trying to compile ROMS 3.5 on a Linux x86_64 machine using a 3.6.3 version of netcdf installed using intel C and Fortran. However I keep running into the following error when trying to compile the model. Does anyone have any suggestions for correcting this problem?
Thanks,
Rasika
/usr/bin/cpp -P -traditional -I/data/users/rgawde/netcdf-intel/include -DLINUX -DX86_64 -DMPIF90 -D'ROOT_DIR="/data/users/rgawde/choproms-code/COMF/ohms/CHOPROMS/sorc/ROMS/CHOPROMS2.0-ROMS3.5"' -DCHOPROMS -D'HEADER="choproms.h"' -D'ROMS_HEADER="/data/users/rgawde/choproms-code/COMF/ohms/CHOPROMS/sorc/ROMS/CHOPROMS2.0-ROMS3.5/CHOPROMS/choproms.h"' -DNestedGrids= -D'ANALYTICAL_DIR="/data/users/rgawde/choproms-code/COMF/ohms/CHOPROMS/sorc/ROMS/CHOPROMS2.0-ROMS3.5/ROMS/Functionals"' -D'SVN_REV="Unversioned directory"' -IROMS/Include -IROMS/Nonlinear -IROMS/Nonlinear/Biology -IROMS/Nonlinear/Sediment -IROMS/Utility -IROMS/Drivers -IROMS/Functionals -I/data/users/rgawde/choproms-code/COMF/ohms/CHOPROMS/sorc/ROMS/CHOPROMS2.0-ROMS3.5/CHOPROMS -IMaster -ICompilers -D'HEADER_DIR="/data/users/rgawde/choproms-code/COMF/ohms/CHOPROMS/sorc/ROMS/CHOPROMS2.0-ROMS3.5/CHOPROMS"' Master/esmf_roms.F > Build/esmf_roms.f90
ROMS/Bin/cpp_clean Build/esmf_roms.f90
cd Build; mpif90 -c -ip -O3 esmf_roms.f90
cd Build; mpif90 -c -ip -O3 master.f90
mpif90 -ip -O3 Build/roms_import.o Build/propagator.o Build/master.o Build/roms_export.o Build/ocean_coupler.o Build/esmf_roms.o Build/ocean_control.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/data/users/rgawde/netcdf-intel/lib -lnetcdf
ld: i386 architecture of input file `/data/users/rgawde/netcdf-intel/lib/libnetcdf.a(netcdf.o)' is incompatible with i386:x86-64 output
make: *** [oceanM] Error 1
Netcdf incompatibility error: i386 architecture
Re: Netcdf incompatibility error: i386 architecture
Yes, I suggest you compile netcdf from source code. That's the best way to know it will be fully compatible with your ROMS compiles.
Re: Netcdf incompatibility error: i386 architecture
Thanks for your reply Kate, but how do I go about doing that? Is there a website you could direct me to?
Thanks,
Rasika
Thanks,
Rasika
Re: Netcdf incompatibility error: i386 architecture
please read....is there a website you could direct me to?
http://people.atmos.ucla.edu/alex/techn ... g_sequence