[petsc-users] PETSc 3.3 p5 installation newbie question
Zou (Non-US), Ling
ling.zou at inl.gov
Mon Jan 21 19:03:39 CST 2013
Thank you Jed.
After 'export PETSC_DIR=/opt/packages/petsc/petsc-3.3-p5
PETSC_ARCH=arch-darwin-c-debug',
'make alltests' seems working well. This is what I got, not a big
difference, should it be a concern?
tee: arch-darwin-c-debug/conf/alltests.log: No such file or directory
4c4
< 3 SNES Function norm 5.48028e-09
---
> 3 SNES Function norm 5.48039e-09
/opt/packages/petsc/petsc-3.3-p5/src/snes/examples/tests
Possible problem with with ex1_3, diffs above
=========================================
5c5
< 2 SNES Function norm 0.000452855
---
> 2 SNES Function norm 0.000452848
7c7
< 3 SNES Function norm 1.39154e-09
---
> 3 SNES Function norm 1.39443e-09
/opt/packages/petsc/petsc-3.3-p5/src/snes/examples/tests
Possible problem with with ex7_1, diffs above
=========================================
5c5
< 2 SNES Function norm 0.000452855
---
> 2 SNES Function norm 0.000452848
7c7
< 3 SNES Function norm 1.39154e-09
---
> 3 SNES Function norm 1.39443e-09
/opt/packages/petsc/petsc-3.3-p5/src/snes/examples/tests
Possible problem with with ex7_2, diffs above
=========================================
4c4
< 3 SNES Function norm 2.083e-10
---
> 3 SNES Function norm 2.081e-10
/opt/packages/petsc/petsc-3.3-p5/src/snes/examples/tests
Possible problem with with ex9_1, diffs above
=========================================
make: [alltests] Error 1 (ignored)
Best,
Ling
On Mon, Jan 21, 2013 at 5:55 PM, Jed Brown <jedbrown at mcs.anl.gov> wrote:
> I think you're looking for
>
> export PETSC_DIR=/opt/packages/petsc/petsc-3.3-p5
> PETSC_ARCH=arch-darwin-c-debug
>
> (or include in make command) followed by
>
> make ex1
> make runex1
>
> You can also
>
> make alltests
>
> but this is overkill.
>
>
> On Mon, Jan 21, 2013 at 6:41 PM, Zou (Non-US), Ling <ling.zou at inl.gov>wrote:
>
>> Hi, all
>>
>> I downloaded the PETSc 3.3 p5 version and installed it. Everything seems
>> to be working fine as I followed those instructions and eventually I did
>> the test like:
>>
>> make PETSC_DIR=/opt/packages/petsc/petsc-3.3-p5
>> PETSC_ARCH=arch-darwin-c-debug test
>>
>> and I got:
>>
>> Running test examples to verify correct installation
>> Using PETSC_DIR=/opt/packages/petsc/petsc-3.3-p5 and
>> PETSC_ARCH=arch-darwin-c-debug
>> C/C++ example src/snes/examples/tutorials/ex19 run *successfully* with 1
>> MPI process
>> C/C++ example src/snes/examples/tutorials/ex19 run *successfully* with 2
>> MPI processes
>> Fortran example src/snes/examples/tutorials/ex5f run *successfully* with
>> 1 MPI process
>> Completed test examples
>>
>> I guess everything so far is good.
>>
>>
>> Question:
>> When I went to petsc-3.3-p5/src/snes/examples/tests, trying to see how
>> those example codes work, I did these and none of them worked.
>>
>> =============================================
>> ../petsc-3.3-p5/src/snes/examples/tests]> make
>>
>> makefile:12: /conf/variables: No such file or directory
>> makefile:13: /conf/rules: No such file or directory
>> makefile:259: /conf/test: No such file or directory
>> make: *** No rule to make target `/conf/test'. Stop.
>> =============================================
>> ../petsc-3.3-p5/src/snes/examples/tests]> make test
>>
>> makefile:12: /conf/variables: No such file or directory
>> makefile:13: /conf/rules: No such file or directory
>> makefile:259: /conf/test: No such file or directory
>> make: *** No rule to make target `/conf/test'. Stop.
>> =============================================
>> ../petsc-3.3-p5/src/snes/examples/tests]> make
>> PETSC_DIR=/opt/packages/petsc/petsc-3.3-p5 PETSC_ARCH=arch-darwin-c-debug
>>
>> (nothing happened, or at least nothing showed)
>> =============================================
>> ../petsc-3.3-p5/src/snes/examples/tests]> make
>> PETSC_DIR=/opt/packages/petsc/petsc-3.3-p5 PETSC_ARCH=arch-darwin-c-debug
>> test
>>
>> make: *** No rule to make target `test'. Stop.
>> =============================================
>>
>> I'd greatly appreciate it if anybody could give me a hand on this.
>>
>> Best,
>>
>> Ling
>>
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20130121/7279036e/attachment.html>
More information about the petsc-users
mailing list