Hello Taiki,

You are modifying a generic machine file and using it with pbs-normal submission file. Submission and running the simulation are done by different files and currently you use generic config and runscript (generic.cfg, generic.run). I would suggest you to use consistent simfactory files, lets say modify the files for crux (crux.ini, .cfg, .sub, .run) to work with your cluster. After having consistent files add "--machine hubble" option when you submit the job (./simfactory/bin/sim submit ... --machine hubble).  Also have a look at the all supported clusters that use PBS on simfactory/mdb/submitscripts.

Best regards,

Beyhan.

I am trying to configure SimFactory to submit jobs using PBS on a machine named "Hubble".

Initially, the automatically generated hubble.ini was configured for a local login node submission. I attempted to modify the submission commands to support our PBS environment, but the jobs are not running properly.

Here are the modifications I made to the .ini configuration:

  *   submit: Changed from: exec nohup @SCRIPTFILE@ < /dev/null > @RUNDIR@/@SIMULATION_NAME@.out 2> @RUNDIR@/@SIMULATION_NAME@.err & echo $! To: qsub @SCRIPTFILE@

  *   stop: Changed from: pkill -g $(ps -o pgid= -p @JOB_ID@) To: qdel @JOB_ID@

  *   getstatus: Changed from: ps @JOB_ID@ To: qstat -f @JOB_ID@

Symptoms:

  1.  When running simfactory/bin/sim submit, no .out or .err files are generated at all.

  2.  When running simfactory/bin/sim create-submit, the .out and .err files are generated, but the .out file only contains the PBS job ID, and the .err file is completely empty.

  3.  No simulation output files or directories are created inside the designated simulation directory.

As you can see from the symptoms,  create-submit successfully captures the job ID, but the simulation does not run and no output is generated.

Could anyone guide me on the correct way to write the submit option or the template script for PBS in SimFactory? Any working examples of a PBS configuration (.ini and .sub files) would be greatly appreciated.

For your reference, I have attached my .ini file and .sub file that I am currently using.