[cam-users] CAM compilation: cc_r not found

Erik Kluzek erik at ucar.edu
Wed Mar 31 09:18:26 MST 2004


Hi Barbara

>   I'm trying to compile CAM model on an AIX 5.1 machine
>   but  I am getting an error when I am running the 'gmake' command:
>
>
.
.
.
>     /usr/bin/mpcc_r[141]: cc_r:  not found.
>
>    gmake[7]: ***
> [/home/grassi/CAM2/cam1/models/atm/cam/bld/esmf/lib/libO/rs6000_sp/libesmf.a(ESMC_BasicUtil.o)]
> Error 127
>

This sounds like a configuration, path, or environment problem on
your machine. It looks like it can find the MPI C++ thread-safe
compiler mpcc_r, but can't find the base thread-safe C++ compiler
cc_r.

I suggest you get help from the system administrators for the
machine you are working on. You might try using the UNIX commands
"which" and "where" to see where these executables are on your
system. You may need to modify your "PATH" environment variable
to make sure "cc_r" is in a directory you can use. Those are
some basic unix suggestions I can give, but you really need an
expert in the particular machine you are working on. Either find
a system administrator or another user who has been successful
at compiling programs on your machine.


Erik Kluzek, (CGD at NCAR)
National Center for Atmospheric Research
Boulder CO, (off) (303)497-1326 (fax) (303)497-1370
------------------ Home page ------------------------
          http://www.cgd.ucar.edu/~erik
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!



More information about the cam-users mailing list