atp42@cornell_edu
New Member
Hi,I'm almost finished porting the CESM v1.2.0 to my local machine (I still need to validate), but I'm having issues with the run script. I completed step 1 of the porting guide and just tried to enable out of the box functionality on this machine. It is missing the execute command and says that the model didn't not complete, when in fact it never ran. I can manually run the executable with the mpirun command and it completes sucessfully. The mkbatch file has the code in it, but it's wrapped in an IF statement that depends on a $PHASE variable that appears to be set in the cesm_setup script. I think for some reason the $PHASE variable isn't being set correctly in the steup script, but I can't figure out why. The cesm_script give an error saying that EXEROOT is an undefinited variable, but the model builds and runs sucessfully. Any advice you can give would be greatly appreaciated. I think I can start performing the functionality tests by adding the code back in, but I would like it to be able to work easily for other users. Thanks,-Aaron