I amI'm trying to submit a job to a school server (HPC) with:
The job aborts saying:
Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Visit Stack ExchangeStack Internal
Knowledge at work
Bring the best of human thought and AI automation together at your work.
Explore Stack InternalI amI'm trying to submit a job to a school server (HPC) with:
The job aborts saying:
I am trying to submit a job to a school server (HPC) with
The job aborts saying
I'm trying to submit a job to a school server (HPC) with:
The job aborts saying:
I am trying to submit a job to a school server (HPC) with
#!/bin/bash #$ -S /bin/bash #$ -cwd #$ -o ./out_$JOB_ID.txt #$ -e ./err_$JOB_ID.txt #$ -notify #$ -pe orte 1 date pwd ################################## RESULT_DIR=~/Results SCRIPT_FILE=sample_job ################################## . /etc/profile . /etc/bashrc module load packages/comsol/4.4 module load packages/matlab/r2012b comsol server matlab "sample_job, exit" -nodesktop -mlnosplash /bin/uname -a mkdir $RESULT_DIR/$name cp *.csv $RESULT_DIR/$name The job aborts saying
Sun Jun 8 14:20:21 EDT 2014 COMSOL 4.4 (Build: 150) started listening on port 2036 Use the console command 'close' to exit the program /usr/bin/xterm Xt error: Can't open display: /usr/bin/xterm: DISPLAY is not set Program_did_not_exit_normally Exception: com.comsol.util.exceptions.FlException: Program did not exit normally Messages: Program did not exit normally Stack trace: at com.comsol.mli.application.a.a(Unknown Source) at com.comsol.mli.application.MatlabApplication.doStart(Unknown Source) at com.comsol.util.application.ComsolApplication.doStart(Unknown Source) at com.comsol.util.application.ComsolApplication.doRun(Unknown Source) at com.comsol.bridge.Bridge$2.run(Unknown Source) at java.lang.Thread.run(Unknown Source) ERROR: Could not start COMSOL Application. See log file: /home/.comsol/v44/logs/server2.log java.lang.IllegalStateException: Shutdown in progress at java.lang.ApplicationShutdownHooks.add(Unknown Source) at java.lang.Runtime.addShutdownHook(Unknown Source) at org.apache.catalina.startup.Catalina.start(Catalina.java:699) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:322) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:451) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.comsol.util.application.ServerApplication.a(Unknown Source) at com.comsol.util.application.ServerApplication.a(Unknown Source) at com.comsol.util.application.ServerApplication.a(Unknown Source) at com.comsol.util.application.ServerApplication.main(Unknown Source) What might be the reason and how should I fix it?