Porting cesm1.2.0, 'underscore' problems

jedwards

CSEG and Liaisons
Staff member
Is this a different build with the same error?    I ask because the last build you showed me was linking libraries in /home/asampath/CESM/caseout/lib and this one has them in /home/asampath/CESM/cesm1_2_0/scripts/mycase_T31_IRCP85CN/bld/libIn either case verify that libgptl.a is there and that the link step is finding this library.
 

jedwards

CSEG and Liaisons
Staff member
You need to figure out why the gptl library is not getting linked.   Where is the file libgptl.a?   What is in directory/home/asampath/CESM/cesm1_2_2/scripts/port1/bld/intel/mpi/nodebug/nothreads/lib
Try the following change in your Makefile: ULIBS += -L$(SHAREDPATH)/$(COMP_INTERFACE)/$(ESMFDIR)/$(NINST_VALUE)/csm_share -lcsm_share -L$(SHAREDPATH)/lib -lpio -lgptl -lmct -lmpeu $(SHAREDPATH)/gptl/libgptl.a
 

jedwards

CSEG and Liaisons
Staff member
You need to figure out why the gptl library is not getting linked.   Where is the file libgptl.a?   What is in directory/home/asampath/CESM/cesm1_2_2/scripts/port1/bld/intel/mpi/nodebug/nothreads/lib
Try the following change in your Makefile: ULIBS += -L$(SHAREDPATH)/$(COMP_INTERFACE)/$(ESMFDIR)/$(NINST_VALUE)/csm_share -lcsm_share -L$(SHAREDPATH)/lib -lpio -lgptl -lmct -lmpeu $(SHAREDPATH)/gptl/libgptl.a
 

jedwards

CSEG and Liaisons
Staff member
You need to figure out why the gptl library is not getting linked.   Where is the file libgptl.a?   What is in directory/home/asampath/CESM/cesm1_2_2/scripts/port1/bld/intel/mpi/nodebug/nothreads/lib
Try the following change in your Makefile: ULIBS += -L$(SHAREDPATH)/$(COMP_INTERFACE)/$(ESMFDIR)/$(NINST_VALUE)/csm_share -lcsm_share -L$(SHAREDPATH)/lib -lpio -lgptl -lmct -lmpeu $(SHAREDPATH)/gptl/libgptl.a
 

jedwards

CSEG and Liaisons
Staff member
You need to figure out why the gptl library is not getting linked.   Where is the file libgptl.a?   What is in directory/home/asampath/CESM/cesm1_2_2/scripts/port1/bld/intel/mpi/nodebug/nothreads/lib
Try the following change in your Makefile: ULIBS += -L$(SHAREDPATH)/$(COMP_INTERFACE)/$(ESMFDIR)/$(NINST_VALUE)/csm_share -lcsm_share -L$(SHAREDPATH)/lib -lpio -lgptl -lmct -lmpeu $(SHAREDPATH)/gptl/libgptl.a
 

santos

Member
You probably should not try to compile GPTL manually, since it's hard to know how that will interact with the CESM scripts.From your original case, can you attach the GPTL log? Also, what is the output of this command:> ls /home/asampath/CESM/cesm1_2_2/scripts/port1/bld/intel/mpi/nodebug/nothreads/includeWhen posting your log files, if you add ".txt" to the end, you can attach them in a forum post here. 
 

santos

Member
You probably should not try to compile GPTL manually, since it's hard to know how that will interact with the CESM scripts.From your original case, can you attach the GPTL log? Also, what is the output of this command:> ls /home/asampath/CESM/cesm1_2_2/scripts/port1/bld/intel/mpi/nodebug/nothreads/includeWhen posting your log files, if you add ".txt" to the end, you can attach them in a forum post here. 
 

santos

Member
You probably should not try to compile GPTL manually, since it's hard to know how that will interact with the CESM scripts.From your original case, can you attach the GPTL log? Also, what is the output of this command:> ls /home/asampath/CESM/cesm1_2_2/scripts/port1/bld/intel/mpi/nodebug/nothreads/includeWhen posting your log files, if you add ".txt" to the end, you can attach them in a forum post here. 
 

santos

Member
You probably should not try to compile GPTL manually, since it's hard to know how that will interact with the CESM scripts.From your original case, can you attach the GPTL log? Also, what is the output of this command:> ls /home/asampath/CESM/cesm1_2_2/scripts/port1/bld/intel/mpi/nodebug/nothreads/includeWhen posting your log files, if you add ".txt" to the end, you can attach them in a forum post here. 
 
Back
Top