when i following "Tutorial: Installing ROMS in Windows XP / Vista (via Cygwin)" to compile ROMS, i get the following error:
cd /home/dd/roms/Projects/Upwelling/Build; g95 -c -fno-second-underscore
-O3 -ffast-math -ffree-form mod_netcdf.f90
Fatal Error: While reading module 'netcdf' found module version 0, expected 7.
make: *** [/home/dd/roms/Projects/Upwelling/Build/mod_netcdf.o] Error 1
Who can help me?
error while Compile ROMS using Cygwin
- m.hadfield
- Posts: 521
- Joined: Tue Jul 01, 2003 4:12 am
- Location: NIWA
-
- Posts: 56
- Joined: Mon Sep 25, 2006 2:37 pm
- Location: Institue of oceanology ,Chinese acedemy of scinece
thanks
i have used the same version of g95 to complie the netcdf and ROMS,but i get two different results. When i complie in x86-32, i succeed and roms can be run. however,i get the same error ,when i complie the ROMS at x86-64(Business vista 64 bit)
- m.hadfield
- Posts: 521
- Joined: Tue Jul 01, 2003 4:12 am
- Location: NIWA
Hmmm, sorry I don't think I (or anyone else on this forum) can help. I don't see why the CPU or OS should matter, as Cygwin is a 32-bit-only system. Your error message certainly suggests a compiler-version mismatch. I suggest you have a good look at your Cygwin & g95 configuration on the 64-bit system. Perhaps you should try a simpler Fortran 90 test application, in which a .mod file is generated and then used.