I think that’s still a valid issue and would be a good addition. However, I figured I just need a shell script in which I wrap my actual binary executable call such as:
#!/bin/bash export LD_LIBRARY_PATH=… exec /path/of/actual/exec “$@“ > On 19 May 2015, at 20:21, Andreas Schuh <[email protected]> wrote: > > Hi Jonathan, > > I’d like to get back to the question regarding Condor environment variables. > Any suggestions other than using CARE what I can do about missing shared > libraries ? In my .bashrc I set the LD_LIBRARY_PATH and it works fine. When I > wrote my own Condor submit scripts, I also explicitly added it to the > “environments” property. > > I just created a GridScale issue for this: > https://github.com/openmole/gridscale/issues/6 > <https://github.com/openmole/gridscale/issues/6> > > Andreas > >> On 8 May 2015, at 08:58, Jonathan Passerat-Palmbach >> <[email protected] >> <mailto:[email protected]>> wrote: >> >> Hi Andreas, >> >> For Condor, the requirements are defined in a list which elements are >> combined by OpenMOLE using &&. >> If you want an OR behaviour, you'd have to express it literally in your >> requirement string. >> >> As for the environment, we don't specify any particular flag. >> I guess it works because you define this environment variable in your >> .bashrc and we force it to be loaded before the execution starts. >> >> Cheers >> J. >> >> On 7 May 2015 22:38:05 CEST, Andreas Schuh <[email protected] >> <mailto:[email protected]>> wrote: >> Hi, >> >> the CondorEnvironment has a requirements argument which is a list of >> key/value tuples. I assume these are combined using a logical AND. Is it >> also possible to have some requirements combined using a logical OR ? In >> particular, I have used the following for our HTCondor environment in my >> scripts: >> >> requirements = OpSysShortName == "Ubuntu" && (OpSysMajorVer == 12 || >> OpSysMajorVer == 13 || OpSysMajorVer == 14) >> >> (although I would be fine with something like OpSysMajorVer >= 12 instead…) >> >> Further, I also had to set the LD_LIBRARY_PATH in my own condor_submit >> scripts. As my programs run fine on most machines using OpenMOLE without >> specifying it I am wondering if it uses some condor_submit flag that asks it >> to pass all environment variables on ? >> >> environment = >> LD_LIBRARY_PATH=/homes/as12312/opt/lib64:/homes/as12312/opt/lib:/usr/lib/matlab/R2012a/sys/os:/usr/lib/matlab/R2012a/runtime/glnxa64:/usr/lib/matlab/R2012a/bin/glnxa64 >> >> Andreas >> >> OpenMOLE-users mailing list >> [email protected] <mailto:[email protected]> >> http://fedex.iscpif.fr/mailman/listinfo/openmole-users >> <http://fedex.iscpif.fr/mailman/listinfo/openmole-users> >> >> -- >> Jonathan Passerat-Palmbach, PhD >> Research Associate >> Department of Computing >> Imperial College London >> >> South Kensigton Campus >> Huxley Building - room 344 >> 180 Queen's Gate >> London SW7 2AZ >
_______________________________________________ OpenMOLE-users mailing list [email protected] http://fedex.iscpif.fr/mailman/listinfo/openmole-users
