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

CESM2.1 build error (buildlib.gptl)

Soeun

New Member
Hi, all

I encountered an error in the step of ./case.build
Error messages in $CASE/bld/gptl.bldlog.~~ are below.

gmake: c: Command not found
gmake: [gptl.o] Error 127 (ignored)
gmake: c: Command not found
gmake: [GPTLutil.o] Error 127 (ignored)
gmake: c: Command not found
gmake: [GPTLget_memusage.o] Error 127 (ignored)
gmake: c: Command not found
gmake: [GPTLprint_memusage.o] Error 127 (ignored)
gmake: c: Command not found
gmake: [gptl_papi.o] Error 127 (ignored)
gmake: c: Command not found
gmake: [f_wrappers.o] Error 127 (ignored)
gmake: c: Command not found
gmake: [perf_utils.o] Error 127 (ignored)
gmake: c: Command not found
gmake: [perf_mod.o] Error 127 (ignored)
ar: creating libgptl.a
ar: gptl.o: No such file or directory
gmake: *** [libgptl.a] Error 1
ERROR: gmake: c: Command not found
gmake: [gptl.o] Error 127 (ignored)
gmake: c: Command not found
gmake: [GPTLutil.o] Error 127 (ignored)
gmake: c: Command not found
gmake: [GPTLget_memusage.o] Error 127 (ignored)
gmake: c: Command not found
gmake: [GPTLprint_memusage.o] Error 127 (ignored)
gmake: c: Command not found
gmake: [gptl_papi.o] Error 127 (ignored)
gmake: c: Command not found


Any solution will be greatly appreciated.
 

zhouzhou

New Member
Hi, all

I encountered an error in the step of ./case.build
Error messages in $CASE/bld/gptl.bldlog.~~ are below.

gmake: c: Command not found
gmake: [gptl.o] Error 127 (ignored)
gmake: c: Command not found
gmake: [GPTLutil.o] Error 127 (ignored)
gmake: c: Command not found
gmake: [GPTLget_memusage.o] Error 127 (ignored)
gmake: c: Command not found
gmake: [GPTLprint_memusage.o] Error 127 (ignored)
gmake: c: Command not found
gmake: [gptl_papi.o] Error 127 (ignored)
gmake: c: Command not found
gmake: [f_wrappers.o] Error 127 (ignored)
gmake: c: Command not found
gmake: [perf_utils.o] Error 127 (ignored)
gmake: c: Command not found
gmake: [perf_mod.o] Error 127 (ignored)
ar: creating libgptl.a
ar: gptl.o: No such file or directory
gmake: *** [libgptl.a] Error 1
ERROR: gmake: c: Command not found
gmake: [gptl.o] Error 127 (ignored)
gmake: c: Command not found
gmake: [GPTLutil.o] Error 127 (ignored)
gmake: c: Command not found
gmake: [GPTLget_memusage.o] Error 127 (ignored)
gmake: c: Command not found
gmake: [GPTLprint_memusage.o] Error 127 (ignored)
gmake: c: Command not found
gmake: [gptl_papi.o] Error 127 (ignored)
gmake: c: Command not found


Any solution will be greatly appreciated.
Hi Soeun, I encountered the same error with yours, and i took nearly twenty days to solve it, until now, i cannot find a correct solution. Could u tell me how to solve it? Thank u very much!
 

zhouzhou

New Member
This is due to your c compiler not being properly identified in the port.
Hi jedwards,
I met the same error with Soeun, I do not know how can I modify compilers.xml to let c compiler being identified by machines, can u tell me more details to fix the error? Thank u very much!
 

jedwards

CSEG and Liaisons
Staff member
What compiler are you specifying - is it in your path? The gptl configure step can't find it.
 
Top