Search found 5 matches

by thaned
Fri Oct 13, 2006 4:49 am
Forum: ROMS Installation
Topic: compile error on Mac with gfortran
Replies: 6
Views: 5775

compile error on Mac with gfortran

I got similar error: e.g. f90 -w -O3 master.o ocean_control.o -o oceanS libNLM.a libUTIL.a libMODS.a -L/usr/local/netcdf/lib -lnetcdf -lU77 /usr/bin/ld: archive: libNLM.a has no table of contents, add one with ranlib(1) (can't load from it) What I did to solve this problem is to execute "ranlib...
by thaned
Mon Sep 18, 2006 9:33 pm
Forum: ROMS Installation
Topic: Compiling with Absoft and mac OSX
Replies: 1
Views: 2662

Compiling with Absoft and mac OSX

I am not using Absoft and mac OSX but this may help. I got similar error (not exact though). The error was /usr/bin/ld: archive: libNLM.a has no table of contents, add one with ranlib(1) (can't load from it) To work around this problem, you can run command "ranlib -s libNLM.a" and such. Th...
by thaned
Mon Jul 31, 2006 5:44 am
Forum: ROMS Installation
Topic: ROMS compilation on Solaris Opteron
Replies: 3
Views: 3291

ROMS compilation on Solaris Opteron

I don't have this system either. However, I had problem compiling on Sun earlier. My problem was cpp on my machine didn't have everything need. I found out the I needed to install a special cpp from the following link. https://www.myroms.org/forum/viewtopic.php?t=87&highlight=cpp I am not sure, ...
by thaned
Mon Jun 19, 2006 5:11 pm
Forum: ROMS Installation
Topic: Compilation error for MAC OS with xlf95_r
Replies: 3
Views: 3570

You are right. The results are different. One from model provide underscore at before and after the file names. nm close_io.o | grep nf_close U _nf_close_ nm /usr/local/netcdf-3.6.1/lib/libnetcdf.a | grep nf_close 00000818 T _nf_close U _nf_close How can I correct this problem? I did reinstall netCD...
by thaned
Wed Jun 14, 2006 7:08 am
Forum: ROMS Installation
Topic: Compilation error for MAC OS with xlf95_r
Replies: 3
Views: 3570

Compilation error for MAC OS with xlf95_r

I am using Mac G5 with "xlf95_r" to compile the ROMS version 2.2. I got an error at the very last step. I have feeling that it might be problem with flush_ but I am not quite sure. Then I tried to check "Utility/mp_routines.F" by change "AIX" to "XLF" but stil...