[Users] @ENV(FOO)@ in simfactory

Roland Haas roland.haas at physics.gatech.edu
Fri Feb 7 13:01:08 CST 2014


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello all,

I have the vague feeling that I have asked that before, but cannot
find an actual discussion on this: should the @ENV(FOO)@ functionality
in simfactory currently be usable? There is some code (in the
ParseEnvCommands function) that would seem to handle it but from doing
a grep on that function name, it does not actually seem to ever be
called from within the simfactory main code.

I tried the attached (incorrect if Cactus was to actually parse it but
we don't get that far) par file. Which tries various methods to get
simfactory to expand @ENV(USER)@ into rhaas (in my case...) before
handing the parfile to Cactus. However this does not happen and the
strings all stay unexpanded.

Does anyone remember if @ENV(FOO)@ should work right now?

I do realize that I could either use Cactus' build in $ENV{FOO} to get
the parfile parser to resolve the variable, but that requires that I
pass the variable to the compute node and the PBS scripts in
simfactory don't do that (I don't really want $USER but
$LORENE_DATA_DIR). I could also use an rpar file (ie a python/perl
script) and do the string manipulations in there, but if possible I'd
limit the number of layers of modifications done to the script and
stick to "stock options" since this is for an example parfile.

Yours,
Roland

- -- 
My email is as private as my paper mail. I therefore support encrypting
and signing email messages. Get my PGP key from http://keys.gnupg.net.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
Comment: Using GnuPG with Icedove - http://www.enigmail.net/

iEYEARECAAYFAlL1LXQACgkQTiFSTN7SboXYBwCgz3PxrRBTspLaC8ooRrs3Phz/
03kAn1BXb5Pv+1Sacxm+dtt/lc3jKxb3
=ZSNW
-----END PGP SIGNATURE-----
-------------- next part --------------
Cactus::cctk_run_title = "@ENV(USER)@ "
Cactus::cctk_run_title = "@ENV(USER)@"
Cactus::cctk_run_title = @ENV(USER)@
Cactus::cctk_run_title = @ENV(USER)@ # foo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: simenv.par.sig
Type: application/pgp-signature
Size: 72 bytes
Desc: not available
Url : http://lists.einsteintoolkit.org/pipermail/users/attachments/20140207/6533c97e/attachment.bin 


More information about the Users mailing list