LOCAL_LIBS=""
if test "x$LIBBATCH_DIR" != "x" ; then
- LOCAL_INCLUDES="-I$LIBBATCH_DIR/include"
+ LOCAL_INCLUDES="-I$LIBBATCH_DIR/include/Batch"
if test "x$LIBBATCH_DIR" = "x/usr" ; then
LOCAL_LIBS="-lBatch"
else
LOCAL_LIBS="-L$LIBBATCH_DIR/lib -lBatch"
fi
else
- LOCAL_INCLUDES="-I/usr/include"
+ LOCAL_INCLUDES="-I/usr/include/Batch"
LOCAL_LIBS="-lBatch"
fi
#include "Launcher.hxx"
#ifdef WITH_LIBBATCH
-#include <Batch/Batch_Date.hxx>
-#include <Batch/Batch_MpiImpl.hxx>
+#include <Batch_Date.hxx>
+#include <Batch_MpiImpl.hxx>
#endif
#include "utilities.h"
//
#ifdef WITH_LIBBATCH
-#include <Batch/Batch_Date.hxx>
-#include <Batch/Batch_BatchManagerCatalog.hxx>
-#include <Batch/Batch_FactBatchManager_eClient.hxx>
-#include <Batch/Batch_BatchManager_eClient.hxx>
+#include <Batch_Date.hxx>
+#include <Batch_BatchManagerCatalog.hxx>
+#include <Batch_FactBatchManager_eClient.hxx>
+#include <Batch_BatchManager_eClient.hxx>
#endif
#include "Basics_Utils.hxx"
#include "Launcher.hxx"
#ifdef WITH_LIBBATCH
-#include <Batch/Batch_Constants.hxx>
+#include <Batch_Constants.hxx>
#endif
Launcher::Job::Job()
if (_queue != "")
params[Batch::QUEUE] = _queue;
+ // Specific parameters
+ std::map<std::string, std::string>::iterator it = _specific_parameters.find("LoalLevelerJobType");
+ if (it != _specific_parameters.end())
+ params[Batch::LL_JOBTYPE] = it->second;
return params;
}
#include <exception>
#ifdef WITH_LIBBATCH
-#include <Batch/Batch_Job.hxx>
-#include <Batch/Batch_Date.hxx>
-#include <Batch/Batch_JobId.hxx>
-#include <Batch/Batch_EmulationException.hxx>
+#include <Batch_Job.hxx>
+#include <Batch_Date.hxx>
+#include <Batch_JobId.hxx>
+#include <Batch_EmulationException.hxx>
#endif
#include <libxml/parser.h>