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

1.2.0 new_case error -mach userdefined

Xax

Member
I am trying to set up a fresh version of CESM 1.2.After downloading the code I attempt to create a new case:./create_newcase -case test01 -res f45_g37 -compset X -mach userdefined However I receive the error:Creating /home/myname/CESM/scripts/test01
env: /home/myname/CESM/scripts/ccsm_utils/Machines/mkbatch.userdefined: No such file or directory
ERROR: env CCSMUSER=myname CASE=test01 CASEROOT=/home/myname/CESM/scripts/test01 env PHASE=set_larch /home/myname/CESM/scripts/ccsm_utils/Machines/mkbatch.userdefined failed: 32512


Any ideas on how to solve this very aprecciated. I have not done any other prior configurations.
 

Xax

Member
Dear jedwards,I am following the manual: 1) downloading the code 2) changing to the scripts subdirectory and attempting ./create_newcase receiving the above errors.
 

jedwards

CSEG and Liaisons
Staff member
Does the file /home/myname/CESM/scripts/ccsm_utils/Machines/mkbatch.userdefined exist?
If not I think you have a corrupt source tree and you should download the 1.2.2 release.
 

Xax

Member
yes, the file exists. Could it be a messed up perl installation or something?
I have perlbrew installed.
 

Xax

Member
I resetup a Virtual Machine within VirtualBox running a fresh Ubuntu installation with CESM1.2.2 but still receive the identical error.
 

jedwards

CSEG and Liaisons
Staff member
I assume that you are talking about Oracle VDI?   As far as I know CESM has never been ported to this environment andnoone here has access to a machine configured in this manor.   Perhaps you should try building CESM in a more standard environment first,learn the procedure, then go back and try your VDI. 
 

santos

Member
Make sure that tcsh is installed, and that the command at the top of mkbatch.userdefined points to it (or to a link or wrapper for it). E.g. if you have this:#!/bin/csh -fMake sure that "/bin/csh" actually exists, or change this line to point to the right path.
 
Top