Mailing List Archives
Authenticated access
|
|
|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Condor-users] Matlab and Condor
I've run sans X11 many times without these errors, and they seem to
indicate that X11 libraries are being looked for & invoked. You may
want to double check the command line again.
Another option is to use VNC to create a "virtual" X11 display: the
following bash script in the vanilla universe worked for me
(scan_periodic_oribts.m is the main matlab script that is run):
------------------------------------------------
#!/bin/sh
export
PATH=/bin:/usr/bin:/usr/sbin:/sbin:/deas/software/bin:/deas/vendor/bin:
/usr/X11R6/bin
export HOME=/home/parrott
export DISPLAY=:19
whoami
MATLAB="/deas/vendor/bin/matlab7 -nojvm -nosplash -display $DISPLAY "
#MATLAB="/deas/vendor/bin/matlab7 -nojvm -nosplash "
VNCSERVER_CMD_ON=" vncserver $DISPLAY -geometry 640x480 -depth 24 "
VNCSERVER_CMD_OFF=" vncserver -kill $DISPLAY "
$VNCSERVER_CMD_ON
$MATLAB <<EOF
params.Bz_min_mT = 0;
params.Bz_max_mT = 150;
scan_periodic_orbits
EOF
$VNCSERVER_CMD_OFF
------------------------------------------------
On Dec 9, 2004, at 12:41 PM, Robert Tafner wrote:
Robert Parrott <parrott@xxxxxxxxxxxxxxxxxxx> wrote:
How are you invoking matlab from condor?
Do you use the "-nojvm -nodisplay" options? The error appears to be
related to X11.
Yes. As mentioned I started it with both parameters. Same result as
without them...
Thanks for your help,
Robert
--
Robert Tafner
tafner@xxxxxxxxxxxxxx, http://www.dpmi.tugraz.at
Institute of Human Computer Interfaces
University of Technology, Inffeldgasse 16a, 8010 Graz
_______________________________________________
Condor-users mailing list
Condor-users@xxxxxxxxxxx
http://lists.cs.wisc.edu/mailman/listinfo/condor-users