Changeset 800


Ignore:
Timestamp:
Jul 24, 2014, 2:45:18 AM (10 years ago)
Author:
g7moreau
Message:
Location:
trunk/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/compile.m

    r747 r800  
    2424    SubfctPath=['-I ' SubfctPath];%string indicating the option of including the path SubfctPath
    2525end
    26 disp(['mcc -m -R -nojvm -R -nodisplay ' SubfctPath ' ' FctName '.m'])
     26disp(['mcc -m -R -nojvm -R -nodisplay -R -singleCompThread ' SubfctPath ' ' FctName '.m'])
    2727try
    28     eval(['mcc -m -R -nojvm -R -nodisplay ' SubfctPath ' ' FctName '.m'])% compile the source file [FctName .m], which produces a binary file FctName and a cmd file [run_' FctName '.sh]
     28    eval(['mcc -m -R -nojvm -R -nodisplay -R -singleCompThread ' SubfctPath ' ' FctName '.m'])% compile the source file [FctName .m], which produces a binary file FctName and a cmd file [run_' FctName '.sh]
    2929    system(['mv -f ' FctName ' bin/']);%move the binary file FctName to the subdir /bin
    3030    system(['sed -e ''''s#/' FctName '#/bin/' FctName '#'''' run_' FctName '.sh > ' FctName '.sh']);%modify the cmd file and copy it to [FctName '.sh']
  • trunk/src/compile_civ_matlab.m

    r646 r800  
    1212    end
    1313end
    14 mcc -m -R -nojvm -R -nodisplay civ_matlab.m
     14mcc -m -R -nojvm -R -nodisplay -R -singleCompThread civ_matlab.m
    1515system('mv -f civ_matlab bin/');
    1616system('sed -e ''s#/civ_matlab#/bin/civ_matlab#'' run_civ_matlab.sh > civ_matlab.sh');
Note: See TracChangeset for help on using the changeset viewer.