mmarcella@air-worldwide_com
New Member
Hi all,I'm new to running/building CCSM. Im trying to set up an AMIP run on an intel 64bit RHEL pgi machine...I am able to get through the first few steps, but I am now getting stuck on the getting the build script to compile properly (with an AMIP intel pgi test case). I get the following error, which I trace back through the error logs and it looks like it cannot find a gcc or C compiler when I look at the config.log file and all the error messages below. (although 'which gcc' definitely shows that I have it installed on the machine)Does anyone happen to know where/why my error may be occurring? Any help would be greatly appreciated! When I open the config file I see the following error(s):./configure CC="mpicc" FC="mpif90" F90="mpif90" INCLUDEPATH="-I/usr/local/mpich-1.2.7p1-intel-3.2.02/include"checking for C compiler default output file name... configure: error: C compiler cannot create executables. When I open this config.log file it is alluding to, it looks mostly like it is just outputting my path and throws an error when it is look for the C compiler: configure:1663: checking for C compiler default output file nameconfigure:1666: mpicc -I/home/i63639/netcdf/include conftest.c –lnetcdf >&5gcc: –lnetcdf: No such file or directoryconfigure:1669: $? = 1configure: failed program was:| /* confdefs.h. */|| #define PACKAGE_NAME "MCT"| #define PACKAGE_TARNAME "mct"| #define PACKAGE_VERSION "2.0"| #define PACKAGE_STRING "MCT 2.0"| #define PACKAGE_BUGREPORT ""| /* end confdefs.h. */|| int| main ()| {|| ;| return 0;| }configure:1708: error: C compiler cannot create executables