[thorne@ldas-pcdev1 mat_test]$ export DISPLAY=:0.0 [thorne@ldas-pcdev1 mat_test]$ /ldcg/matlab_r2008a/bin/matlab -nodisplay < M A T L A B (R) > Copyright 1984-2008 The MathWorks, Inc. Version 7.6.0.324 (R2008a) February 10, 2008 To get started, type one of these: helpwin, helpdesk, or demo. For product information, visit www.mathworks.com. >> getenv('ARCH') ans = glnxa64 >> mcc -mv magicsquare Warning: Unable to open display ':0.0'. 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_r2008a/toolbox/local. Warning: Duplicate directory name: /archive/home/thorne/matlab. Compiler version: 4.8 (R2008a) Processing /ldcg/matlab_r2008a/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 38 path items. Begin validation of MEX files: Mon Jun 2 13:49:19 2008 Validating '/ldcg/matlab_r2008a/toolbox/compiler/deploy/deploywhich.mexa64'. No conflicting M-file found. Validating '/ldcg/matlab_r2008a/toolbox/compiler/deploy/readline.mexa64'. No conflicting M-file found. End validation of MEX files: Mon Jun 2 13:49:19 2008 Deleting 2 temporary MEX authorization files. Removing: '/tmp/filewh10nM_7677.auth'. Removing: '/tmp/filepk71Dq_7677.auth'. Parsing file "/mnt/qfs1/thorne/mat_test/magicsquare.m" (Referenced from: "Compiler Command Line"). Parsing file "/ldcg/matlab_r2008a/toolbox/compiler/deploy/deployprint.m" (Referenced from: "Compiler Command Line"). Parsing file "/ldcg/matlab_r2008a/toolbox/compiler/deploy/printdlg.m" (Referenced from: "Compiler Command Line"). Generating file "magicsquare_main.c". Generating file "/mnt/qfs1/thorne/mat_test/run_magicsquare.sh". Generating file "/mnt/qfs1/thorne/mat_test/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/R2008a/mbuildopts.sh ---------------------------------------------------------------- -> TMW_ROOT = /ldcg/matlab_r2008a -> CC = gcc -> CC flags: CFLAGS = -ansi -D_GNU_SOURCE -I/ldcg/matlab_r2008a/extern/include -DUNIX -DX11 -pthread CDEBUGFLAGS = -g COPTIMFLAGS = -O -DNDEBUG CLIBS = -Wl,-rpath-link,/ldcg/matlab_r2008a/bin/glnxa64 -L/ldcg/matlab_r2008a/bin/glnxa64 -lmwmclmcrrt -lm arguments = -> LD = gcc -> Link flags: LDFLAGS = -pthread LDDEBUGFLAGS = -g LDOPTIMFLAGS = -O arguments = ---------------------------------------------------------------- -> gcc -c -ansi -D_GNU_SOURCE -I/ldcg/matlab_r2008a/extern/include -DUNIX -DX11 -pthread -O -DNDEBUG magicsquare_main.c -> gcc -c -ansi -D_GNU_SOURCE -I/ldcg/matlab_r2008a/extern/include -DUNIX -DX11 -pthread -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_r2008a/bin/glnxa64 -L/ldcg/matlab_r2008a/bin/glnxa64 -lmwmclmcrrt -lm >>