Giter Club home page Giter Club logo

vishnu's People

Contributors

ecapo avatar keoo avatar nbard avatar omornard avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

vishnu's Issues

SeD configuration file

SeDs "crash" (actually they are unreachable, though still running) if they are launched without the urlSupervisor parameter.

We should also change the urlSupervisor by uriSupervisor to be consistent with the other keys: uri and uriDispatcherSub

Sometime the tms command can't connect to the local account

The TMS command make a local connexion for the commands execution. If there is too many keys in the local wallet (~/.ssh/) or the ssh-agent then the ssh server can break the authentification and not allowed a new connection with the following message :

vishnu_submit_job: Vishnu not available (SSH error) [Received disconnect from 127.0.0.1: 2: Too many authentication failures for xxxxx

Undefined variables

In FMS, in FileTypes.hpp, there is this bit of code:

/**
 * \brief  The stat structure differs depending on the system type.
 * BSD file systems used the same structure for large and small
 * partition type.
 */
#if FS_32 | BSD_LIKE_SYSTEM
typedef struct stat file_stat_t;
typedef off_t file_size_t;
#define STAT(path, buf) stat((path), (buf))
#else
typedef struct stat64 file_stat_t;
/**
 * \brief A defintion of object size type
 */
typedef off64_t file_size_t;
/**
 * \brief The default defintion of stat function
 */
#define STAT(path, buf) stat64((path), (buf))
#endif

It uses FS_32 and BSD_LIKE_SYSTEM variables, which are defined nowhere...

Make dispatcher subscription optional

It would be a good idea to make the dispatcher uri optional is SeDs configurations, so as not to register into a dispatcher when it is not needed

Potential bug when generating slurm nodefile

In TMS/src/server/Env.cpp, in the replaceEnvVariables method, there is the following code for SLURM (line 82):

    pos = scriptContent.find("$VISHNU_BATCHJOB_NODEFILE");
    if(pos!=std::string::npos) {
      std::string fileName = "/tmp/NODELIST_XXXXXX";
      vishnu::createTmpFile(const_cast<char*>(fileName.c_str()));
      pos = scriptContent.rfind("\n", pos-1);
      scriptContent.insert(pos+1, "echo $SLURM_JOB_NODELIST > "+fileName+"\n");
      std::string tmp = "echo $SLURM_JOB_NODELIST > "+fileName+"\n";
      scriptContent.insert(pos+1+tmp.size(), "sed -i 's/,/\\n/g' "+fileName+"\n");
      replaceAllOccurences(scriptContent, "$VISHNU_BATCHJOB_NODEFILE", fileName);
      replaceAllOccurences(scriptContent, "${VISHNU_BATCHJOB_NODEFILE}", fileName);
      scriptContent.insert(scriptContent.size()-1, "\n rm "+fileName+"\n");
    }

I think this won't work, as /tmp/NODELIST_XXXXXX will be generated on the gateway, and not on a node where the script will run. It would be better to generate this in the home directory.

MOTD (Bugzilla #354)

enhancement bug in component Core
Reported in version 1.3.0 on platform Other

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.