[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Condor-users] Matlab Job Crash On Condor



Hi,

I am trying to submit Matlab jobs in condor.

But the job crashes and I am getting the following error.

The Matlab code runs fine without condor.

 

< M A T L A B >

                  Copyright 1984-2002 The MathWorks, Inc.

                      Version 6.5.0.180913a Release 13

                                Jun 18 2002

 

^G

------------------------------------------------------------------------

       Segmentation violation detected at Fri Feb 23 18:19:34 2007

------------------------------------------------------------------------

 

Configuration:

  MATLAB Version:   6.5.0.180913a (R13)

  Operating System: Linux 2.6.9-42.0.3.ELsmp #1 SMP Fri Oct 6 06:21:39 CDT 2006 i686

  Window System:    No active display

  Current Visual:   None

  Processor ID:     x86 Family 15 Model 2 Stepping 9, GenuineIntel

  Virtual Machine:  Java is not enabled

 

Register State:

  eax = 00000000   ebx = 401dfbf0

  ecx = ffffffff   edx = 00000048

  esi = 401fb640   edi = 00000000

  ebp = bfffcae8   esp = bfffcad0

  eip = 401d9430   flg = 00010216

 

Stack Trace:

  [0] libmwmpath.so:mpCombinePathName(0x401fb640, 0, 0x401f2c60 "toolbox_cache.xml", 0x401e7c79) + 32 bytes

  [1] libmwservices.so:svGetToolboxCacheFile(76, 0x4003ea3c, 0xbfffdde8, 0x40010f2a) + 48 bytes

  [2] matlab:mnRunLoginScript(32, 0x401f369c "AnViL!", 4067284, 0x40dedcb4) + 155 bytes

  [3] matlab:mnParser(0x0050aff4, 0xbffffa34, 0xbffff9c0, 0x413d4544 "ld-linux.so.2") + 660 bytes

  [4] matlab:main(6, 0xbffffa34, 0xbffffa50, 4025446) + 2799 bytes

  [5] libc.so.6:__libc_start_main~(0x08058110, 6, 0xbffffa34, 0x08055a8c) + 211 bytes

 

Please follow these steps in reporting this problem to The MathWorks so

that we have the best chance of correcting it:

 

  1. Send this crash report to segv@xxxxxxxxxxxxx for automated analysis.

     For your convenience, this information has been recorded in:

       /tmp/matlab_crash_dump.9923

 

  2. Also, if the problem is reproducible, send the crash report to

     support@xxxxxxxxxxxxx along with: :

       - A specific list of steps that will reproduce the problem

       - Any M, MEX, MDL or other files required to reproduce the problem

       - Any error messages displayed prior to this crash report

     A technical support engineer will contact you with further information.

 

Thank you for your assistance.  Please save your workspace and restart

MATLAB before continuing your work.

 

>> MATLAB program terminated.

 

 

Here is the Job description.

 

universe        = vanilla

executable      = Mscript.sh

#arguments      = MPC_CT.m

output          = mat.out

error           = mat.err

log             = mat.log

should_transfer_files = YES

when_to_transfer_output = ON_EXIT

transfer_input_files = MPC_CT.m,AIRTP_model_2u.mdl,AIRTP_Plant_2u.mdl,ParamFunc.m,AIRTP_Plant_twouy.c,nlmpc_CT.m,AIRTP_Obj_CT.m,Patient_02_Profile.mat,AIRTP_Model_twouy.c,ParameterFunction_CT.m,SimModelOutput.m,AIRTP_Setup_CT.m

queue

 

Mscript.sh

************

#! /bin/sh

#/usr/local/bin/matlab -nodisplay $1

#export HOME=/scratch/senthil

export PATH=/usr/kerberos/bin:/usr/java/jre1.5.0_06/bin/:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/scratch/senthil/bin

#export HOME=${_CONDOR_SCRATCH_DIR} ${WORKING_DIR} ${EXECUTABLE}

export MATLAB=/usr/local/bin/matlab

#echo $HOME

#echo ${_CONDOR_SCRATCH_DIR}

#echo ${WORKING_DIR}

#echo ${EXECUTABLE}

exec matlab -nojvm -nodisplay -nosplash -r "MPC_CT(2,2)"

#exec matlab -nojvm -nodisplay -nosplash -r $1

#exec matlab -nojvm -nodisplay -nosplash -r "myfunction(3)"

#/usr/local/bin/matlab -r "MPC_CT(2,2)"

#/usr/local/bin/matlab $1 $2

 

 

I tried different combinations, all gives the same problem.

 

If any one knows how to run Matlab code using condor, please let me know.

 

Thanks,

Senthil