rüngliche Nachricht-
> Von: easybuild-requ...@lists.ugent.be
> [mailto:easybuild-requ...@lists.ugent.be] Im Auftrag von Loris Bennett
> Gesendet: Dienstag, 12. März 2019 11:42
> An: easybuild
> Betreff: Re: [easybuild] Accessing environment variables in easycon
On 3/12/19 1:25 PM, Loris Bennett wrote:
> This is not for MDCS - we don't have that. This is also the setup we
> had working on our previous cluster, but where we didn't use Easybuild.
>
>> If you install matlab using
>> env LM_LICENSE_FILE=port@host eb MATLAB...eb then the LM_LICENSE_FILE
Åke Sandgren writes:
> On 3/12/19 12:00 PM, Dr. Stefan Harfst wrote:
>> Dear Loris,
>>
>> one way to achieve what you want is to use the modxxxfooter parameters in
>> the eb-file (untested):
>>
>> modluafooter = 'setenv("MCR_CACHE_ROOT", pathJoin("/scratch",
>> pathJoin(os.getenv("USER"),
On 3/12/19 12:00 PM, Dr. Stefan Harfst wrote:
> Dear Loris,
>
> one way to achieve what you want is to use the modxxxfooter parameters in the
> eb-file (untested):
>
> modluafooter = 'setenv("MCR_CACHE_ROOT", pathJoin("/scratch",
> pathJoin(os.getenv("USER"), "mcr_cache")))'
> modtclfooter =
w.uni-oldenburg.de/fk5/wr
-Ursprüngliche Nachricht-
Von: easybuild-requ...@lists.ugent.be [mailto:easybuild-requ...@lists.ugent.be]
Im Auftrag von Loris Bennett
Gesendet: Dienstag, 12. März 2019 11:42
An: easybuild
Betreff: Re: [easybuild] Accessing environment variables in easyconfig
Hi Åke,
Hi Åke,
I want to add the environment variables to a MATLAB easyconfig which are
needed to run compiled MATLAB programms
I tried
modextravars = {'LM_LICENSE_FILE': '%s@%s' % (license_server_port,
license_server),
'MATLABROOT': '.',
'MCR_HOME':
Hi,
I need to get $USER within an easyconfig. I found the documentation for
the Python module easybuild.tools.environment, but this doesn't seem to
be what I need.
Can any one point me to the documentation about how to access
environment variables in an easyconfig?
Cheers,
Loris
--
Dr.
7 matches
Mail list logo