I talked to Charles about this and he said that the error
happens before the user environment gets prepared. That
is consistent with you still having the problem.
A solution for your problem is probably to have expat
installed in a system directory and not in your home directory.

> From: [EMAIL PROTECTED]
> Subject: Re: [gt-user] globusrun-ws was failed.
> Date: Tue, 7 Aug 2007 09:26:40 -0500 (CDT)
>
>> Masato:
>> ok, forget about the different user account. Seems like something
>> went wrong there, but from the Script stderr i can see that the
>> real problem is probably the expat thing.
>> What happens if you save the following job description to a file
>> test.xml
>> <job>
>>    <executable>/bin/touch</executable>
>>    <argument>${GLOBUS_USER_HOME}/touchMe</argument>
>>    <environment>
>>      <name>LD_LIBRARY_PATH</name>
>> <value>/usr/lib/debug:/work/asou/GT/gt4.0.5/lib:/home/asou/FreeSW/install/expat/lib:/usr/local/SGE/sge-6_0u1/lib/lx24-x86:/usr/pgi/linux86/5.2/lib:/opt/intel/fc/9.1.045/lib:/opt/intel/cc/9.1.049/lib</value>
>>    </environment>
>>    <stdout>${GLOBUS_USER_HOME}/stdout</stdout>
>>    <stderr>${GLOBUS_USER_HOME}/stderr</stderr>
>> </job>
>>
>> and submit it using globusrun-ws -submit ... -f test.xml?
>
> It was faild.
>
>     % cat test.xml
>     <job>
>        <executable>/bin/touch</executable>
>        <argument>${GLOBUS_USER_HOME}/touchMe</argument>
>        <environment>
>          <name>LD_LIBRARY_PATH</name>
>     
> <value>/usr/lib/debug:/work/asou/GT/gt4.0.5/lib:/home/asou/FreeSW/install/expat/lib:/usr/local/SGE/sge-6_0u1/lib/lx24-x86:/usr/pgi/linux86/5.2/lib:/opt/intel/fc/9.1.045/lib:/opt/intel/cc/9.1.049/lib</value>
>        </environment>
>        <stdout>${GLOBUS_USER_HOME}/stdout</stdout>
>        <stderr>${GLOBUS_USER_HOME}/stderr</stderr>
>     </job>
>     % globusrun-ws -submit -streaming -subject-authz
> '/C=JP/O=AIST/OU=GRID/CN=Masato Asou' -factory example.org:18443 -f
> test.xml
>     Submitting job...Done.
>     Job ID: uuid:27d2e136-4548-11dc-a87d-00304829a67e
>     Termination time: 08/09/2007 00:41 GMT
>     Current job state: Failed
>     Destroying job...Done.
>     globusrun-ws: Job failed: Error code: 201
>     Script stderr:
>     Can't load
> '/home/asou/FreeSW/install/perl-5.8.8/lib/site_perl/5.8.8/i686-linux/auto/XML/Parser/Expat/Expat.so'
> for module XML::Parser::Expat: libexpat.so.1: cannot open shared
> object file: No such file or directory at
> /home/asou/FreeSW/install/perl-5.8.8/lib/5.8.8/i686-linux/DynaLoader.pm
> line 230. at
> /home/asou/FreeSW/install/perl-5.8.8/lib/site_perl/5.8.8/i686-linux/XML/Parser.pm
> line 14Compilation failed in require at
> /home/asou/FreeSW/install/perl-5.8.8/lib/site_perl/5.8.8/i686-linux/XML/Parser.pm
> line 14.BEGIN failed--compilation aborted at
> /home/asou/FreeSW/install/perl-5.8.8/lib/site_perl/5.8.8/i686-linux/XML/Parser.pm
> line 18.Compilation failed in require at
> /work/asou/GT/gt4.0.5/lib/perl/Globus/GRAM/ExtensionsHandler.pm line
> 4.BEGIN failed--compilation aborted at
> /work/asou/GT/gt4.0.5/lib/perl/Globus/GRAM/ExtensionsHandler.pm line
> 4.Compilation failed in require at
> /work/asou/GT/gt4.0.5/lib/perl/Globus/GRAM/JobManager.pm line 8.BEGIN
> failed--compilation aborted!
>   at /work/asou/GT/gt4.0.5/lib/perl/Globus/GRAM/JobManager.pm line
> 8.Compilation failed in require at
> /work/asou/GT/gt4.0.5/lib/perl/Globus/GRAM/JobManager/fork.pm line
> 5.BEGIN failed--compilation aborted at
> /work/asou/GT/gt4.0.5/lib/perl/Globus/GRAM/JobManager/fork.pm line
> 5.Compilation failed in require at (eval 1) line 3.
>
>                       ASOU Masato [EMAIL PROTECTED]
>                  What is Ninf? http://ninf.apgrid.org/
>
>


Reply via email to