Hello,
Okey!, thanks for the answer, I will update my Unicore server.
Regards
Antoni Artigues
El mié, 16-03-2011 a las 13:20 +0100, Bernd Schuller escribió:
> hi Antoni,
>
> thanks for the info!
> The "PreCommand" feature is unfortunately not supported yet in the
> UNICORE version you're using, it was introduced in
> version 6.3.1
>
> Best regards,
> Bernd.
>
> On Mi, 2011-03-16 at 12:57 +0100, antoni artigues wrote:
> > Hello
> >
> > The XNJS version:xnjs-module-core-1.3.0.jar
> >
> > The Unicore job script:
> >
> > --------------------------------------------------
> > #!/bin/sh
> > #TSI_SUBMIT
> > #TSI_TIME 3600
> > #TSI_MEMORY 256
> > #TSI_NODES NONE
> > #TSI_TOTAL_PROCESSORS 6
> > #TSI_PROCESSORS 6
> > #TSI_HOST_NAME none
> > #TSI_QUEUE NONE
> > UC_PROCESSORS=6; export UC_PROCESSORS;
> > UC_TOTAL_PROCESSORS=6; export UC_TOTAL_PROCESSORS;
> > #TSI_SSR_MPIENVIRONMENT 1.0
> > #TSI_SSR_ARCH 1.0
> > #TSI_SSR_OPSYS 1.0
> > #TSI_SSR_MPITASKRESOURCES 1.0
> > #TSI_JOBNAME UNICORE_Job
> > #TSI_OUTCOME_DIR /mnt/nfs/5c521767-1021-4d47-b3f1-492e42424b9b/
> > #TSI_USPACE_DIR /mnt/nfs/5c521767-1021-4d47-b3f1-492e42424b9b/
> > #TSI_EMAIL NONE
> >
> > UC_DECISION_FILE=;
> > chmod +x ./*
> > # supplied environment variables begin.
> > # supplied environment variables end.
> > UC_EXECUTABLE='/mnt/nfs/gimias/commandLinePlugins/GaussianBlurImageFilterApp'; export UC_EXECUTABLE;
> > UC_USERDN='EMAILADDRESS=tartigues@..., CN=Antoni Artigues,
> > OU=desarrollo, O=iac3-uib, L=Palma, ST=Illes Balears, C=ES'; export
> > UC_USERDN;
> > cd /mnt/nfs/5c521767-1021-4d47-b3f1-492e42424b9b/
> > /mnt/nfs/gimias/commandLinePlugins/GaussianBlurImageFilterApp input.vtk
> > output.vtk
> >
> > echo $?
> > > /mnt/nfs/5c521767-1021-4d47-b3f1-492e42424b9b//UNICORE_SCRIPT_EXIT_CODE
> >
> >
> > #TSI_IDENTITY condor NONE
> > --------------------------------------------------
> >
> > Thanks In advance
> >
> > Regards
> >
> > Antoni Artigues
> >
> > El mié, 16-03-2011 a las 12:22 +0100, Bernd Schuller escribió:
> > > hi Antoni,
> > >
> > > which version of UNICORE are you using (server side), specifically
> > > which is the version of the XNJS?
> > >
> > > ls -l unicorex/lib/ | grep xnjs
> > >
> > > Another thing: what is the actual job script generated by UNICORE?
> > > You can see this info in the "job properties" (in the URC, right click
> > > the job and select "Details", then "low level details")
> > >
> > > Thanks,
> > > Bernd.
> > >
> > > On Mi, 2011-03-16 at 11:06 +0100, antoni artigues wrote:
> > > > Hello
> > > >
> > > > I have added this application to the idb:
> > > >
> > > > <!-- GaussianBlur -->
> > > > <idb:IDBApplication>
> > > > <idb:ApplicationName>GaussianBlur</idb:ApplicationName>
> > > > <idb:ApplicationVersion>1.0</idb:ApplicationVersion>
> > > > <jsdl:POSIXApplication
> > > > xmlns:jsdl="http://schemas.ggf.org/jsdl/2005/11/jsdl-posix">
> > > > <jsdl:Executable>/mnt/nfs/gimias/commandLinePlugins/GaussianBlurImageFilterApp</jsdl:Executable>
> > > > </jsdl:POSIXApplication>
> > > > <idb:PreCommand>export LD_LIBRARY_PATH=
> > > > $LD_LIBRARY_PATH:/mnt/nfs/gimias:/mnt/nfs/gimias/commandLinePlugins;
> > > > echo $LD_LIBRARY_PATH</idb:PreCommand>
> > > > </idb:IDBApplication>
> > > >
> > > > In this application I a have added a PreCommand:
> > > > export LD_LIBRARY_PATH=
> > > > $LD_LIBRARY_PATH:/mnt/nfs/gimias:/mnt/nfs/gimias/commandLinePlugins
> > > >
> > > > But this precommand is not executed when I launch the jobs. And I obtain
> > > > library errors:error while loading shared libraries
> > > >
> > > > Where is the problem?
> > > >
> > > > I'm using the condor perl tsi
> > > >
> > > > If I add the same environment to the job description:
> > > > Environment: ["LD_LIBRARY_PATH=
> > > > $LD_LIBRARY_PATH:/mnt/nfs/gimias:/mnt/nfs/gimias/commandLinePlugins"],
> > > > Everythink works well. But i don't want to set this export in every job,
> > > > I need it in the IDB.
> > > >
> > > > Thanks in advance
> > > >
> > > > Antoni Artigues
> > > >
> > > >
> > > > ------------------------------------------------------------------------------
> > > > Colocation vs. Managed Hosting
> > > > A question and answer guide to determining the best fit
> > > > for your organization - today and in the future.
> > > > http://p.sf.net/sfu/internap-sfd2d
> > > > _______________________________________________
> > > > UNICORE-support mailing list
> > > > UNICORE-support@...
> > > > https://lists.sourceforge.net/lists/listinfo/unicore-support
> > > --
> > > Dr. Bernd Schuller
> > > Distributed Systems and Grid Computing
> > > Juelich Supercomputing Centre, http://www.fz-juelich.de/jsc
> > > Phone: +49 246161-8736 (fax -8556)
> > > Personal blog: http://www.jroller.com/page/gridhaus
> > >
> > >
> > > ------------------------------------------------------------------------------------------------
> > > ------------------------------------------------------------------------------------------------
> > > Forschungszentrum Juelich GmbH
> > > 52425 Juelich
> > > Sitz der Gesellschaft: Juelich
> > > Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498
> > > Vorsitzender des Aufsichtsrats: MinDirig Dr. Karl Eugen Huthmacher
> > > Geschaeftsfuehrung: Prof. Dr. Achim Bachem (Vorsitzender),
> > > Dr. Ulrich Krafft (stellv. Vorsitzender), Prof. Dr.-Ing. Harald Bolt,
> > > Prof. Dr. Sebastian M. Schmidt
> > > ------------------------------------------------------------------------------------------------
> > > ------------------------------------------------------------------------------------------------
> >
> >
> >
> > ------------------------------------------------------------------------------
> > Colocation vs. Managed Hosting
> > A question and answer guide to determining the best fit
> > for your organization - today and in the future.
> > http://p.sf.net/sfu/internap-sfd2d
> > _______________________________________________
> > UNICORE-support mailing list
> > UNICORE-support@...
> > https://lists.sourceforge.net/lists/listinfo/unicore-support
|