-// Copyright (C) 2009-2015 CEA/DEN, EDF R&D
+// Copyright (C) 2009-2016 CEA/DEN, EDF R&D
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
public:
// Results
std::string job_name;
- enum {YACS, COMMAND, PYTHON_SALOME} job_type;
+ enum {YACS, COMMAND, PYTHON_SALOME, COMMAND_SALOME} job_type;
std::string yacs_file;
std::string command;
std::string python_salome_file;
std::string env_file;
+ std::string pre_command;
std::string batch_directory;
long mem_limit;
BL::Job::MemReqType mem_req_type;
int nb_proc;
+ int nb_node;
bool exclusive;
// Parameters for COORM
std::string resource_choosed;
std::string batch_queue;
+ std::string batch_partition;
std::string wckey;
std::string extra_params;
public slots:
void yacs_schema_button(bool checked);
void command_button(bool checked);
+ void command_salome_button(bool checked);
void python_salome_button(bool checked);
private:
public slots:
void choose_file();
void choose_env_file();
+ void choose_pre_command_file();
private:
QLineEdit * _yacs_file_text;
QLineEdit * _line_env_file;
+ QLineEdit * _line_pre_command;
};
class CommandMainPage: public QWizardPage
public slots:
void choose_command_file();
void choose_env_file();
+ void choose_pre_command_file();
private:
QLineEdit * _line_command;
QLineEdit * _line_env_file;
+ QLineEdit * _line_pre_command;
};
class PythonSalomeMainPage: public QWizardPage
public slots:
void choose_PythonSalome_file();
void choose_env_file();
+ void choose_pre_command_file();
private:
QLineEdit * _line_PythonSalome;
QLineEdit * _line_env_file;
+ QLineEdit * _line_pre_command;
};
class AdvancedParametersPage: public QWizardPage