init_time = os.times()
if verbose(): print "startSalome ", args
+
+ # set PYTHONINSPECT variable
+ if args['pinter']:
+ os.environ["PYTHONINSPECT"]="1"
+ import readline
#
# Initialisation ORB et Naming Service
anInterp=InterpServer(args)
anInterp.run()
- # set PYTHONINSPECT variable
- if args['pinter']:
- os.environ["PYTHONINSPECT"]="1"
return clt
else
LSF_LDFLAGS="-L${LSF_LIBDIR}"
fi
- LSF_LIBS=""
+ LSF_LIBS="-lbat -llsf"
saved_LDFLAGS=${LDFLAGS}
saved_LIBS=${LIBS}
LDFLAGS="${LDFLAGS} ${LSF_LDFLAGS}"
_param[TEXT] = jobInfo.numReasons ? lsb_pendreason(jobInfo.numReasons,
jobInfo.reasonTb,
p_jInfoHead,
- p_ld) : "";
+ p_ld,0) : "";
// _param[TMPDIR] = jobInfo.;
_param[USEDCPUTIME] = static_cast<long>(jobInfo.cpuTime);
// _param[USEDDISKSIZE] = jobInfo.;
Batch_Job_LSF.cxx
LIB_CPPFLAGS += ${LSF_INCLUDES}
-LIB_LIBADD += ${LSF_LIBDIR} ${LSF_LIBS}
+LIB_LIBADD += ${LSF_LDFLAGS} ${LSF_LIBS}
endif
// -----------------------------------------------
// Code for rank 0 : launch runAppli and a container
// RunAppli
- tempOutputFile << " ./runAppli --terminal --modules=" ;
+ if(_params.modulesList.size()>0)
+ tempOutputFile << " ./runAppli --terminal --modules=" ;
+ else
+ tempOutputFile << " ./runAppli --terminal ";
for ( int i = 0 ; i < _params.modulesList.size() ; i++ ) {
tempOutputFile << _params.modulesList[i] ;
if ( i != _params.modulesList.size()-1 )
_libNOTIFICATION_la_LDFLAGS = -module
_libNOTIFICATION_la_LIBADD = ../Notification/libSalomeNotification.la
-# @PYTHON_LIBS@
-
swig_wrap.cpp : $(SWIG_SOURCES)
$(SWIG) $(SWIG_FLAGS) -o $@ $<