ilit_shlezak@weizmann_ac_il
New Member
Hi,
I am trying to configure CAM 3.1 on mac OS X version 10.3.9.
I am using gfortran and netcdf 6.3.0 (I think), I am not using MPI.
I set the environment of ~/cam1/models/atm/cam/bld to be "camcfg" like in the User's guide.
I typed (on tcsh) : $camcfg/configure -nc_inc /sw/include/ -nc_lib /sw/lib/ -fc gfortran -test
I got the creating lines (6 lines) and then"Looking for a valid GNU", and then had an error:
" Testing for Fortran 90 campatible compiler... ****FAILED****
Issued the command:
gnumake test_fc 2>&1
The output was:
... (2 paths for Srcfiles and Depends)
gfortran -o test_fc tst_fc.o -flat_namespace -L/sw/lib -L/usr/x11R6/lib
gfortran: test_fc.o: Mo such file or directory
gnumake: *** [test_fc] Error1"
(btw, when trying to do the same on bsh, the error massage also included the line that said that it can not find the Srcfiles and Depands).
In my running folder I have the file test_fc.F90. When running the test (./test_fc) I got the line "hello world" which means (if I am not mistaking) that my fortran compiler is working properly.
Do you have an idea? Ever heard of problems with Mac?
Thanks in advanced,
Ilit
I am trying to configure CAM 3.1 on mac OS X version 10.3.9.
I am using gfortran and netcdf 6.3.0 (I think), I am not using MPI.
I set the environment of ~/cam1/models/atm/cam/bld to be "camcfg" like in the User's guide.
I typed (on tcsh) : $camcfg/configure -nc_inc /sw/include/ -nc_lib /sw/lib/ -fc gfortran -test
I got the creating lines (6 lines) and then"Looking for a valid GNU", and then had an error:
" Testing for Fortran 90 campatible compiler... ****FAILED****
Issued the command:
gnumake test_fc 2>&1
The output was:
... (2 paths for Srcfiles and Depends)
gfortran -o test_fc tst_fc.o -flat_namespace -L/sw/lib -L/usr/x11R6/lib
gfortran: test_fc.o: Mo such file or directory
gnumake: *** [test_fc] Error1"
(btw, when trying to do the same on bsh, the error massage also included the line that said that it can not find the Srcfiles and Depands).
In my running folder I have the file test_fc.F90. When running the test (./test_fc) I got the line "hello world" which means (if I am not mistaking) that my fortran compiler is working properly.
Do you have an idea? Ever heard of problems with Mac?
Thanks in advanced,
Ilit