>
> Satish
>
>>
>> Dmitry.
>>
>> @@ -266,46 +266,7 @@
>> }
>> else {
>> dlhandle = (dlhandle_t) 0;
>> -
>> -#if defined(PETSC_HAVE_DLOPEN)
>> - /* Attempt to retrieve the main executable's dlhandle. */
>> - { int dlflags1 = 0, dlflags2 = 0;
>> -#if defined(PETSC_HAVE_RTLD_LAZY)
>> - dlflags1 = RTLD_LAZY;
>> -#endif
>> - if(!dlflags1) {
>> -#if defined(PETSC_HAVE_RTLD_NOW)
>> - dlflags1 = RTLD_NOW;
>> -#endif
>> - }
>> -#if defined(PETSC_HAVE_RTLD_LOCAL)
>> - dlflags2 = RTLD_LOCAL;
>> -#endif
>> - if(!dlflags2) {
>> -#if defined(PETSC_HAVE_RTLD_GLOBAL)
>> - dlflags2 = RTLD_GLOBAL;
>> -#endif
>> - }
>> -#if defined(PETSC_HAVE_DLERROR)
>> -#if defined(PETSC_HAVE_VALGRIND)
>> - if (!(RUNNING_ON_VALGRIND)) {
>> -#endif
>> - dlerror(); /* clear any previous error; valgrind does not like this
>> */
>> -#if defined(PETSC_HAVE_VALGRIND)
>> - }
>> -#endif
>> -#endif
>> - /* Attempt to open the main executable as a dynamic library. */
>> - dlhandle = dlopen(0, dlflags1|dlflags2);
>> - }
>> -#if defined(PETSC_HAVE_DLERROR)
>> - { const char *e = (const char*) dlerror();
>> - if(e){
>> - SETERRQ1(PETSC_COMM_SELF, PETSC_ERR_ARG_WRONG, "Error opening main
>> executable as a dynamic library:\n Error message from dlopen(): '%s'\n",
>> e);
>> - }
>> - }
>> -#endif
>> -#endif /* PETSC_HAVE_DLOPEN */
>> +
>> }
>> #if defined(PETSC_HAVE_DLERROR)
>> dlerror(); /* clear any previous error */
>>
>>
>>
>> On Mon, Apr 4, 2011 at 7:26 PM, Matthew Knepley <
petsc-maint@mcs.anl.gov>wrote:
>>
>>> Now it is really hard for me to understand what the problem is since both
>>> 3.1 and dev check for this
>>> function in the same way. Moreover, it does not depend on shared libraries.
>>>
>>> Satish, have you seen this error before on the XT5?
>>>
>>> Matt
>>>
>>> On Mon, Apr 4, 2011 at 6:45 PM, Satish Balay <
petsc-maint@mcs.anl.gov
>>>> wrote:
>>>
>>>> On Mon, 4 Apr 2011, Sebastian Steiger wrote:
>>>>
>>>>> On 04/04/2011 05:42 PM, Satish Balay wrote:
>>>>>> Could you run both the binaries in the same node-allocation - with a
>>>>>> single batch file and send the '-log_summary' for them?
>>>>>> run petsc-dev
>>>>>> run petsc-31
>>>>>> run petsc-dev
>>>>>> run petsc-31
>>>>> Do you mean exactly the same physical nodes? I don't know how to do
>>>>> that. My batch files for petsc-dev and petsc-3.1-p4 are identical
>>> except
>>>>> for the static executable.
>>>>
>>>>
>>>> Haven't used batch stuff on ornl machine - but if the usual batch
>>>> script file is something like: [for eg: pbs]
>>>>
>>>>>>>
>>>> #!/bin/sh
>>>> #PBS -N hello
>>>> #PBS -l nodes=1:ppn=8
>>>> #PBS -l walltime=0:00:15
>>>> #PBS -j oe
>>>>
>>>> cd $PBS_O_WORKDIR
>>>> mpiexec ./ex1
>>>> <<<<<
>>>>
>>>> you could change it to:
>>>>
>>>>>>>>>
>>>> #!/bin/sh
>>>> #PBS -N hello
>>>> #PBS -l nodes=1:ppn=8
>>>> #PBS -l walltime=0:00:30
>>>> #PBS -j oe
>>>>
>>>> cd $PBS_O_WORKDIR
>>>> mpiexec ./ex1
>>>> mpiexec ./ex2
>>>> mpiexec ./ex1
>>>> mpiexec ./ex2
>>>> <<<<<<<
>>>>
>>>> and run it with a single allocation..
>>>>
>>>> Satish
>>>>
>>>>
>>>
>>>
>>> --
>>> What most experimenters take for granted before they begin their
>>> experiments
>>> is infinitely more interesting than any results to which their experiments
>>> lead.
>>> -- Norbert Wiener
>>>
>>>
>>> Now it is really hard for me to understand what the problem is since both
>>> 3.1 and dev check for this
>>> function in the same way. Moreover, it does not depend on shared libraries.
>>>
>>> Satish, have you seen this error before on the XT5?
>>>
>>> Matt
>>>
>>> On Mon, Apr 4, 2011 at 6:45 PM, Satish Balay <
petsc-maint@mcs.anl.gov>wrote:
>>>
>>>> On Mon, 4 Apr 2011, Sebastian Steiger wrote:
>>>>
>>>>> On 04/04/2011 05:42 PM, Satish Balay wrote:
>>>>>> Could you run both the binaries in the same node-allocation - with a
>>>>>> single batch file and send the '-log_summary' for them?
>>>>>> run petsc-dev
>>>>>> run petsc-31
>>>>>> run petsc-dev
>>>>>> run petsc-31
>>>>> Do you mean exactly the same physical nodes? I don't know how to do
>>>>> that. My batch files for petsc-dev and petsc-3.1-p4 are identical except
>>>>> for the static executable.
>>>>
>>>>
>>>> Haven't used batch stuff on ornl machine - but if the usual batch
>>>> script file is something like: [for eg: pbs]
>>>>
>>>>>>>
>>>> #!/bin/sh
>>>> #PBS -N hello
>>>> #PBS -l nodes=1:ppn=8
>>>> #PBS -l walltime=0:00:15
>>>> #PBS -j oe
>>>>
>>>> cd $PBS_O_WORKDIR
>>>> mpiexec ./ex1
>>>> <<<<<
>>>>
>>>> you could change it to:
>>>>
>>>>>>>>>
>>>> #!/bin/sh
>>>> #PBS -N hello
>>>> #PBS -l nodes=1:ppn=8
>>>> #PBS -l walltime=0:00:30
>>>> #PBS -j oe
>>>>
>>>> cd $PBS_O_WORKDIR
>>>> mpiexec ./ex1
>>>> mpiexec ./ex2
>>>> mpiexec ./ex1
>>>> mpiexec ./ex2
>>>> <<<<<<<
>>>>
>>>> and run it with a single allocation..
>>>>
>>>> Satish
>>>>
>>>>
>>>
>>>
>>> --
>>> What most experimenters take for granted before they begin their
>>> experiments is infinitely more interesting than any results to which their
>>> experiments lead.
>>> -- Norbert Wiener
>>>
>>>
>>
>>
>
>