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

configure on new machine

Hi All,
i am trying to configure cesm on new machine. There is no similar machine in the ccsm_utils/Machines directory. I have created requested files, created new case and successful configured it. But build script crashes because of error. Below is log from mct.bldlog file:

Copying source to CCSM EXEROOT...
New build of MCT
Running configure...
for OS=Linux.ifort MACH=galera
cat: Filepath: No such file or directory
cat: Srcfiles: No such file or directory
/users/tmp/jakacki/bs_02/Tools/mkSrcfiles > /users/tmp/jakacki/bs_02/mct/Srcfiles
cp -f /users/tmp/jakacki/bs_02/mct/Filepath /users/tmp/jakacki/bs_02/mct/Deppath
/users/tmp/jakacki/bs_02/Tools/mkDepends Deppath Srcfiles > /users/tmp/jakacki/bs_02/mct/Depends
./configure CC="mpicc" F90="mpif90"
checking for C compiler default output file name... configure: error: C compiler cannot create executables
See `config.log' for more details.
gmake: *** [configure] Error 77
cp: cannot stat `Makefile.conf': No such file or directory
Makefile:4: Makefile.conf: No such file or directory
make: *** No rule to make target `Makefile.conf'. Stop.

I will be glad if somebody would be able to figure out this problem and thank you in advance for any help.
Regards,
Jaromir
 

jedwards

CSEG and Liaisons
Staff member
> checking for C compiler default output file name... configure: error: C compiler cannot create executables

You need to be able to create an executable using mpicc, is it in your path? Look in the config.log for more details. If you haven't already done so, you might want to start with a simple mpi program - like 'hello world' and make sure that you can build and run that.
 
Thank you Jim,
I have found that fortran compiler was configured in my profile and c-compiler was not. I made a call to help desk and they fixed it. Now have successful compiled dead case and i am trying to submit the job.
Thanks,
Jaromir
 
Top