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

MCT build fail

Shruti

Shruti Joshi
Member
Hello, I am fairly new to CESM. Hence seeking clarification on some points.

I am presently working on CESM version - 2.1.2.
I am facing build issue with MCT. Please find the attached log.
It gives the following error:

---> Makefile:605: recipe for target '/home/amit/projects/scratch/case7/bld/gnu/openmpi/nodebug/nothreads/mct/Makefile.conf' failed

Presently i am resolving this issue by seperately building MCT under "cime/src/external/mct" and copying the generated "Makefile.conf" in the output directory (projects/scratch/case7/bld/gnu/openmpi/nodebug/nothreads/mct/).

I would like to know what is the correct path for output directory which needs to be set so that copying of "Makefile.conf" can be avoided.
Or if there is any other issue here which i'm overlooking.


Any help would be appreciated.!!

Note : Facing a similar issue with PIO build too. Missing some files in the output directory.

Thanks & Regards,
Shruti Joshi
 

Attachments

  • mct.bldlog.200228-104431.txt
    1.4 KB · Views: 8

jedwards

CSEG and Liaisons
Staff member
configure: error: C compiler cannot create executables
See `config.log' for more details
make: *** [/home/amit/projects/scratch/case7/bld/gnu/openmpi/nodebug/nothreads/mct/

the file is /home/amit/projects/scratch/case7/bld/gnu/openmpi/nodebug/nothreads/mct/config.log

What machine and compiler are you using?
 

Shruti

Shruti Joshi
Member
Thank you for your reply.

Processor - AMD Eng Sample: 100-000000053-04_32/20_N
Architecture - x86_64
Tried with 2 versions of GCC compiler
Compiler - gcc 7.4.0 and 9.2.0

Yes, I have checked the above error but then placing the Makefile.conf does resolve the issue.

The exit status is 77, which stands for "Permission denied"
Does it mean that the copying of the files is not possible because of the permission restriction?
Should i provide permission to the output(scratch) folder?
 

Shruti

Shruti Joshi
Member
Thank you for your reply.

Processor - ROME
Architecture - x86_64
Tried with 2 versions of GCC compiler
Compiler - gcc 7.4.0 and 9.2.0

Yes, I have checked the above error but then placing the Makefile.conf does resolve the issue.

The exit status is 77, which stands for "Permission denied"
Does it mean that the copying of the files is not possible because of the permission restriction?
Should i provide permission to the output(scratch) folder?
 
Top