[thorne@ldas-pcdev2 ~]$ cd mat_test [thorne@ldas-pcdev2 mat_test]$ export DISPLAY=0.0 [thorne@ldas-pcdev2 mat_test]$ /ldcg/matlab_2007a/bin/matlab -nodisplay -bash: /ldcg/matlab_2007a/bin/matlab: No such file or directory [thorne@ldas-pcdev2 mat_test]$ /ldcg/matlab_r2007a/bin/matlab -nodisplay < M A T L A B > Copyright 1984-2007 The MathWorks, Inc. Version 7.4.0.336 (R2007a) January 29, 2007 To get started, type one of these: helpwin, helpdesk, or demo. For product information, visit www.mathworks.com. >> getenv('ARCH') ans = glnx86 >> mcc -mv magicsquare.m Warning: Unable to open display 0.0, MATLAB is starting without a display. You will not be able to display graphics on the screen. Warning: Duplicate directory name: /archive/home/thorne/matlab. Warning: Duplicate directory name: /ldcg/matlab_r2007a/toolbox/local. Warning: Duplicate directory name: /archive/home/thorne/matlab. Compiler version: 4.6 (R2007a) Processing /ldcg/matlab_r2007a/toolbox/matlab/mcc.enc Processing include files... 2 item(s) added. Processing directories installed with MCR... The file mccExcludedFiles.log contains a list of functions excluded from the CTF archive. 0 item(s) added. Generating MATLAB path for the compiled application... Created 36 path items. Begin validation of MEX files: Wed May 30 19:58:19 2007 Validating '/ldcg/matlab_r2007a/toolbox/compiler/deploy/deploywhich.mexglx'. No conflicting M-file found. Validating '/ldcg/matlab_r2007a/toolbox/compiler/deploy/readline.mexglx'. No conflicting M-file found. End validation of MEX files: Wed May 30 19:58:19 2007 Deleting 2 temporary MEX authorization files. Removing: '/tmp/fileRBLX0X_25679.auth'. Removing: '/tmp/fileDHUcan_25679.auth'. Parsing file "/archive/home/thorne/mat_test/magicsquare.m" (Referenced from: "Compiler Command Line"). Parsing file "/ldcg/matlab_r2007a/toolbox/compiler/deploy/matlabrc.m" (Referenced from: "Compiler Command Line"). Parsing file "/ldcg/matlab_r2007a/toolbox/compiler/dirname.m" (Referenced from: "Compiler Command Line"). Parsing file "/ldcg/matlab_r2007a/toolbox/compiler/deploy/deployprint.m" (Referenced from: "Compiler Command Line"). Parsing file "/ldcg/matlab_r2007a/toolbox/compiler/deploy/printdlg.m" (Referenced from: "Compiler Command Line"). Parsing file "/ldcg/matlab_r2007a/toolbox/matlab/elmat/magic.m" (Referenced from: "/archive/home/thorne/mat_test/magicsquare.m"). Parsing file "/ldcg/matlab_r2007a/toolbox/matlab/strfun/str2num.m" (Referenced from: "/archive/home/thorne/mat_test/magicsquare.m"). Parsing file "/ldcg/matlab_r2007a/toolbox/matlab/iofun/filesep.m" (Referenced from: "/ldcg/matlab_r2007a/toolbox/compiler/deploy/matlabrc.m"). Parsing file "/ldcg/matlab_r2007a/toolbox/compiler/deploy/hgrc.m" (Referenced from: "/ldcg/matlab_r2007a/toolbox/compiler/deploy/matlabrc.m"). Parsing file "/ldcg/matlab_r2007a/toolbox/matlab/codetools/initdesktoputils.m" (Referenced from: "/ldcg/matlab_r2007a/toolbox/compiler/deploy/matlabrc.m"). Parsing file "/ldcg/matlab_r2007a/toolbox/local/initprefs.m" (Referenced from: "/ldcg/matlab_r2007a/toolbox/compiler/deploy/matlabrc.m"). Parsing file "/ldcg/matlab_r2007a/toolbox/matlab/general/isdeployed.m" (Referenced from: "/ldcg/matlab_r2007a/toolbox/compiler/deploy/matlabrc.m"). Parsing file "/ldcg/matlab_r2007a/toolbox/matlab/general/ispc.m" (Referenced from: "/ldcg/matlab_r2007a/toolbox/compiler/deploy/matlabrc.m"). Parsing file "/ldcg/matlab_r2007a/toolbox/matlab/lang/lasterror.m" (Referenced from: "/ldcg/matlab_r2007a/toolbox/compiler/deploy/matlabrc.m"). Parsing file "/ldcg/matlab_r2007a/toolbox/local/pathdef.m" (Referenced from: "/ldcg/matlab_r2007a/toolbox/compiler/deploy/matlabrc.m"). Parsing file "/ldcg/matlab_r2007a/toolbox/matlab/general/pwd.m" (Referenced from: "/ldcg/matlab_r2007a/toolbox/compiler/deploy/matlabrc.m"). Parsing file "/ldcg/matlab_r2007a/toolbox/matlab/general/recycle.m" (Referenced from: "/ldcg/matlab_r2007a/toolbox/compiler/deploy/matlabrc.m"). Parsing file "/ldcg/matlab_r2007a/toolbox/local/reporterrorlogs.m" (Referenced from: "/ldcg/matlab_r2007a/toolbox/compiler/deploy/matlabrc.m"). Parsing file "/archive/home/thorne/matlab/startup.m" (Referenced from: "/ldcg/matlab_r2007a/toolbox/compiler/deploy/matlabrc.m"). Parsing file "/ldcg/matlab_r2007a/toolbox/matlab/strfun/str2double.m" (Referenced from: "/ldcg/matlab_r2007a/toolbox/compiler/deploy/matlabrc.m"). Parsing file "/ldcg/matlab_r2007a/toolbox/matlab/general/usejava.m" (Referenced from: "/ldcg/matlab_r2007a/toolbox/compiler/deploy/matlabrc.m"). Parsing file "/ldcg/matlab_r2007a/toolbox/matlab/iofun/fileparts.m" (Referenced from: "/ldcg/matlab_r2007a/toolbox/compiler/dirname.m"). Parsing file "/ldcg/matlab_r2007a/toolbox/matlab/timefun/datestr.m" (Referenced from: "/ldcg/matlab_r2007a/toolbox/compiler/deploy/deployprint.m"). Parsing file "/ldcg/matlab_r2007a/toolbox/matlab/graphics/getappdata.m" (Referenced from: "/ldcg/matlab_r2007a/toolbox/compiler/deploy/deployprint.m"). Parsing file "/ldcg/matlab_r2007a/toolbox/matlab/datatypes/isfield.m" (Referenced from: "/ldcg/matlab_r2007a/toolbox/compiler/deploy/deployprint.m"). Parsing file "/ldcg/matlab_r2007a/toolbox/matlab/uitools/msgbox.m" (Referenced from: "/ldcg/matlab_r2007a/toolbox/compiler/deploy/deployprint.m"). Parsing file "/ldcg/matlab_r2007a/toolbox/matlab/timefun/now.m" (Referenced from: "/ldcg/matlab_r2007a/toolbox/compiler/deploy/deployprint.m"). Parsing file "/ldcg/matlab_r2007a/toolbox/matlab/datatypes/num2cell.m" (Referenced from: "/ldcg/matlab_r2007a/toolbox/compiler/deploy/deployprint.m"). Parsing file "/ldcg/matlab_r2007a/toolbox/matlab/strfun/num2str.m" (Referenced from: "/ldcg/matlab_r2007a/toolbox/compiler/deploy/deployprint.m"). Parsing file "/ldcg/matlab_r2007a/toolbox/matlab/graphics/orient.m" (Referenced from: "/ldcg/matlab_r2007a/toolbox/compiler/deploy/deployprint.m"). Parsing file "/ldcg/matlab_r2007a/toolbox/matlab/graphics/print.m" (Referenced from: "/ldcg/matlab_r2007a/toolbox/compiler/deploy/deployprint.m"). Parsing file "/ldcg/matlab_r2007a/toolbox/matlab/iofun/tempname.m" (Referenced from: "/ldcg/matlab_r2007a/toolbox/compiler/deploy/deployprint.m"). Parsing file "/ldcg/matlab_r2007a/toolbox/matlab/general/path.m" (Referenced from: "/ldcg/matlab_r2007a/toolbox/compiler/deploy/printdlg.m"). Parsing file "/ldcg/matlab_r2007a/toolbox/matlab/general/rmpath.m" (Referenced from: "/ldcg/matlab_r2007a/toolbox/compiler/deploy/printdlg.m"). Generating file "magicsquare_main.c". Generating file "run_magicsquare.sh". Generating file "readme.txt". Generating file "magicsquare_mcc_component_data.c". Executing command: mbuild -O -v -output "magicsquare" "magicsquare_main.c" "magicsquare_mcc_component_data.c" -link exe---------------------------------------------------------------- -> mbuildopts.sh sourced from directory (DIR = $HOME/.matlab/$REL_VERSION) FILE = /archive/home/thorne/.matlab/R2007a/mbuildopts.sh ---------------------------------------------------------------- -> TMW_ROOT = /ldcg/matlab_r2007a -> CC = gcc -> CC flags: CFLAGS = -I/ldcg/matlab_r2007a/extern/include -DUNIX -DX11 -ansi -D_GNU_SOURCE -pthread -fexceptions CDEBUGFLAGS = -g COPTIMFLAGS = -O -DNDEBUG CLIBS = -Wl,-rpath-link,/ldcg/matlab_r2007a/bin/glnx86 -L/ldcg/matlab_r2007a/bin/glnx86 -lmwmclmcrrt -lm -lstdc++ arguments = -> LD = gcc -> Link flags: LDFLAGS = -pthread LDDEBUGFLAGS = -g LDOPTIMFLAGS = -O arguments = ---------------------------------------------------------------- -> gcc -c -I/ldcg/matlab_r2007a/extern/include -DUNIX -DX11 -ansi -D_GNU_SOURCE -pthread -fexceptions -O -DNDEBUG magicsquare_main.c -> gcc -c -I/ldcg/matlab_r2007a/extern/include -DUNIX -DX11 -ansi -D_GNU_SOURCE -pthread -fexceptions -O -DNDEBUG magicsquare_mcc_component_data.c -> gcc -O -pthread -o magicsquare magicsquare_main.o magicsquare_mcc_component_data.o -Wl,-rpath-link,/ldcg/matlab_r2007a/bin/glnx86 -L/ldcg/matlab_r2007a/bin/glnx86 -lmwmclmcrrt -lm -lstdc++ >>