Dear RegCM3 Users,
Recently, we bought 4 CPU machine with SuSE Linux Enterprise Server 10. on it.
RegCM3 was intalled on this machine. Also, we installed PGI 6.2-5 x86 fortran compiler.
After installation, we tried to compile terrain.x file as we did for PGI5 Makefile. We got the following error messages:
RCM@aras:~/RegCM/PreProc/Terrain> ./terrain.x
rm -f *.o terrain
pgf90 -O2 -byteswapio -Ktrap=fp -c -L../../Commons/env/liblinux64/ -lnetcdf terrain.f
terrain.f:
pgf90 -O2 -byteswapio -Ktrap=fp -o terrain terrain.o -L../../Commons/env/liblinux64/ -lnetcdf
/usr/bin/ld: skipping incompatible ../../Commons/env/liblinux64//libnetcdf.a when searching for -lnetcdf
terrain.o: In function `rdldtr_':
terrain.f:(.text+0x1d6e4): undefined reference to `ncopn_'
terrain.f:(.text+0x1d9ab): undefined reference to `ncopn_'
terrain.f:(.text+0x1de43): undefined reference to `ncclos_'
terrain.f:(.text+0x1de50): undefined reference to `ncclos_'
terrain.o: In function `rdldtr_s_':
terrain.f:(.text+0x1e394): undefined reference to `ncopn_'
terrain.f:(.text+0x1e65b): undefined reference to `ncopn_'
terrain.f:(.text+0x1eaf3): undefined reference to `ncclos_'
terrain.f:(.text+0x1eb00): undefined reference to `ncclos_'
terrain.o: In function `rddatcdfi1_':
terrain.f:(.text+0x21952): undefined reference to `ncdid_'
terrain.f:(.text+0x21973): undefined reference to `ncdinq_'
terrain.f:(.text+0x21989): undefined reference to `ncdid_'
terrain.f:(.text+0x219aa): undefined reference to `ncdinq_'
terrain.f:(.text+0x219c0): undefined reference to `ncdid_'
terrain.f:(.text+0x219e1): undefined reference to `ncdinq_'
terrain.f:(.text+0x21a4e): undefined reference to `ncdid_'
terrain.f:(.text+0x21a6f): undefined reference to `ncdinq_'
terrain.f:(.text+0x21a9e): undefined reference to `ncvid_'
terrain.f:(.text+0x21abd): undefined reference to `ncvgt_'
terrain.o: In function `rddatcdfi2_':
terrain.f:(.text+0x21bb2): undefined reference to `ncdid_'
terrain.f:(.text+0x21bd3): undefined reference to `ncdinq_'
terrain.f:(.text+0x21be9): undefined reference to `ncdid_'
terrain.f:(.text+0x21c0a): undefined reference to `ncdinq_'
terrain.f:(.text+0x21c20): undefined reference to `ncdid_'
terrain.f:(.text+0x21c41): undefined reference to `ncdinq_'
terrain.f:(.text+0x21cae): undefined reference to `ncdid_'
terrain.f:(.text+0x21ccf): undefined reference to `ncdinq_'
terrain.f:(.text+0x21cfe): undefined reference to `ncvid_'
terrain.f:(.text+0x21d1d): undefined reference to `ncvgt_'
make: *** [terrain] Error 2
./terrain: Command not found.