Scheduled Downtime
On Tuesday 24 October 2023 @ 5pm MT the forums will be in read only mode in preparation for the downtime. On Wednesday 25 October 2023 @ 5am MT, this website will be down for maintenance and expected to return online later in the morning.
Normal Operations
The forums are back online with normal operations. If you notice any issues or errors related to the forums, please reach out to help@ucar.edu

running CAM on mac OS X

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
 
Top