Hi,

Am 11.10.2013 um 15:30 schrieb Bartosz Biegun - EN:

> I'm trying to integrate comsol 4.3a GUI with my ge2011.11 installation. GUI 
> of comsol have a pretty form to send job on cluster.
> Comsol send job via command:
> 
> qsub -b y -pe comsol 1 -wd /opt/comsol/43a/bin -o 
> /home/bbiegun/batchmodel.mph.log -e /home/bbiegun/batchmodel.mph.log 
> /opt/comsol/43a/bin/comsol batch -nn ${NHOSTS} -nnhost 1 -clustersimple 
> -mpibootstrap mavo -mpirsh ssh -job b1 -alivetime 15 -inputfile 
> /home/bbiegun/batchmodel.mph -batchlog /home/bbiegun/batchmodel.mph.log
> 
> But comsol exits with error:
> Error: ${NHOSTS} is not an allowed value for the switch -nn.

These are two things:

a) the value of ${NHOSTS} is only known at runtime defined by SGE as 
environment variable, not at submission time. But nevertheless

b) the ${NHOSTS} should be evaluated to an empty string, which might be a 
problem of the GUI that it's forwarding the plain text without shell evalution.


> What is apperent from the "-b y" option.

No, the "-b y" option only says that "/opt/comsol/43a/bin/comsol" is a binary 
and not a script.

-- Reuti


> Has anyone of you have expirience with comsol-ge integration?
> 
> -- 
> Regards,
> 
> Bartosz Biegun
> IT specialist
> Computing Techniques Laboratory
> Jerzy Haber Institute of Catalysis and Surface Chemistry
> Polish Academy of Sciences,
> ul. Niezapominajek 8, 30 239 Cracow, Poland
> tel. +48 12 639 51 56, +48 12 639 52 08, fax. +48 12 425 19 23
> 
> _______________________________________________
> users mailing list
> [email protected]
> https://gridengine.org/mailman/listinfo/users


_______________________________________________
users mailing list
[email protected]
https://gridengine.org/mailman/listinfo/users

Reply via email to