On Mon, Dec 7, 2009 at 5:22 PM, <span dir="ltr"><<a href="mailto:hxie@umn.edu">hxie@umn.edu</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi,<br>
<br>
I compile the petsc by<br>
-----<br>
./config/configure.py COPTFLAGS=-O3 FOPTFLAGS=-O3 --download-f-blas-lapack=1<br>
-----<br>
(.bashrc:<br>
export PETSC_DIR=$HOME/lib/petsc-3.0.0-p8<br>
export PETSC_ARCH=linux-gnu-c-opt<br>
)<br>
and the "make all" runs OK but the "make test" always fails (probably because the queueing<br>
system won't let the script launch an interactive multiprocessor job. The interactive command should be<br>
"mpirun -np 4 -hostfile hosts ~/ex1"). </blockquote><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">After compiling the petsc, my code runs OK except I cannot use the command line options. That is really inconvenient. Any idea for this? My code is written in Fortran 90. </blockquote>
<div><br>It sounds like it has to do with your queuing system. I recommend you ask the local sysadmin for that cluster.<br><br> Matt<br> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Thanks.<br>
<br>
Part of error messages after running "make test"<br>
------<br>
Running test examples to verify correct installation<br>
Possible error running C/C++ src/snes/examples/tutorials/ex19 with 1 MPI process<br>
See <a href="http://www.mcs.anl.gov/petsc/petsc-as/documentation/troubleshooting.html" target="_blank">http://www.mcs.anl.gov/petsc/petsc-as/documentation/troubleshooting.html</a><br>
mpirun_ssh: option `-n' is ambiguous<br>
mpirun_ssh -timeout 200 -paramfile paramfile.11115 -n 1 ./ex19 -dmmg_nlevels 4 failed!<br>
Removing temporary paramfile paramfile.11115<br>
------<br>
<br>
<br>
Bests,<br>
Hui<br>
<br>
</blockquote></div><br><br clear="all"><br>-- <br>What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead.<br>-- Norbert Wiener<br>