I'm using a Macbook Air with OS X 10.7.2, gfortran 4.6.2, GNU make version 3.8.1, and NetCDF version 3.6.3. I was able to successfully run the ROMS upwelling example by following the directions from the WikiROMS site under the tutorial of "Installing ROMS on a Macintosh". I haven't attempted to run in parallel yet, still trying to figure that out.
I then wanted to utilize ROMS in 64 bit so I installed NetCDF again, after doing a make distclean, using the following configuration:
export CC=gcc
export CXX=''
export CFLAGS='-O3 -m64'
export FC=gfortran
export FFLAGS='-O3 -m64'
./configure --enable-shared
I'm not sure if it installed in 64 bit but the make check command showed that all tests had passed.
When I tried to execute ./build.bash, I received the following error and the end of the UNIX output:
ld: symbol(s) not found for architecture x86_64
collect2: ld returned 1 exit status
make: *** [/Users/flanaryc/Documents/ROMS/Projects/Upwelling/oceanS] Error 1
I've attached the full output from executing ./build.bash.
Thank you for any help you can provide.
Build.bash architecture x86_64 error
-
- Posts: 23
- Joined: Sun Jan 29, 2012 4:33 pm
- Location: Florida Institute of Technology
- Contact:
Build.bash architecture x86_64 error
- Attachments
-
build_bash_error1.txt
- (407.06 KiB) Downloaded 295 times
- m.hadfield
- Posts: 521
- Joined: Tue Jul 01, 2003 4:12 am
- Location: NIWA
Re: Build.bash architecture x86_64 error
You have added the -m64 flag to C and Fortran compiler options when building netCDF, but I see no sign that it has been used when building ROMS. That might be your problem.