Skip to content

Add example scripts for PBS cluster manager #4

@Mugglea

Description

@Mugglea

Dear sir,
While I was installing the informME, I encountered a problem. Could you give me any advice? Thank you very much.

#path
IPATH="/**/program/informME-master"
MATLICE="/**/program/matlab/dir_install/licenses/license_standalone.lic"
PATH1="/**/program/informME-master/others/eigen/install"
PATH2="/**/program/informME-master/others/mpfr-3.1.6"

Firstly, I finished the installing steps of 1, 2 and 4, and then I ran the informME-master/SubmissionScripts/MexSource/runCompileMEX.sh. An error occurred:

qsub: No default queue specified MSG=cannot locate queue
for COMPILE submitted on Wed Dec 20 20:51:12 CST 2017

So I gave it the queue id of "-q Biocc.ZY" and it liked this:

# Run compile.sh script
JOB=`qsub << EOJ
#
#$ -wd ${WORKDIR}
#$ -j y
#$ -r y
#$ -S /bin/bash
#$ -N INFM_CMP
#$ -q Biocc.ZY    ##########here
#$ -l mem_free=15G
#$ -l h_vmem=15G
#$ -l h_fsize=100G
#$ -o ${SOUTDIR}
# 
${SCRIPTDIR}compile.sh "${EIGEN}" "${MPFRINCL}" "${MPFRLIB}" "${MATLICE}"
EOJ
`
echo "${JOB} for COMPILE submitted on `date`"

But it made no sense. Therefore, I submited the job with PBS file named "install.pbs" by the qsub command. As follows:

#!/bin/bash
##############################################################
# the name of job
#PBS -N output-7

# set the queue
#PBS -q Biocc.ZY

# nodes: number of nodes requested by job
# ppn  : the number of processors per node requested by job
#PBS -l nodes=1:ppn=8

#PBS -l walltime=1000:00:00
##############################################################
IPATH="/**/program/informME-master"
MATLICE="/**/program/matlab/dir_install/licenses/license_standalone.lic"
PATH1="/**/program/informME-master/others/eigen/install"
PATH2="/**/program/informME-master/others/mpfr-3.1.6"

# Non-user specified directories
# (trailing slash)
EIGEN="$PATH1/"
MPFRINCL="$PATH2/include/"
MPFRLIB="$PATH2/lib/"
SCRIPTDIR="$IPATH/SubmissionScripts/MexSource/"
SOUTDIR="$IPATH/SubmissionScripts/STDouts/"
WORKDIR="$IPATH/MexSource/"

${SCRIPTDIR}compile.sh "${EIGEN}" "${MPFRINCL}" "${MPFRLIB}" "${MATLICE}"

The error is like this:

#tips for error
Error identifier: MATLAB:UndefinedFunctionError message: Undefined function 'compile' for input arguments of type 'char'.

#output file 
starting command: compile('/**/program/informME-master/others/eigen/install/','/**/program/informME-master/others/mpfr-3.1.6/include/','/**/program/informME-master/others/mpfr-3.1.6/lib/');

                            < M A T L A B (R) >
                  Copyright 1984-2015 The MathWorks, Inc.
                  R2015b (8.6.0.267246) 64-bit (glnxa64)
                              August 20, 2015


To get started, type one of these: helpwin, helpdesk, or demo.
For product information, visit www.mathworks.com.

Job Running
error in MATLAB
tic;compile('/**/program/informME-master/others/eigen/install/','/**/program/informME-master/others/mpfr-3.1.6/include/','/**/program/informME-master/others/mpfr-3.1.6/lib/');toc;

Any suggestions would be very helpful. Thank you very much.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions