Petsc command line options are ignored by PBS submission

Matthew Knepley knepley at gmail.com
Mon Dec 7 17:24:29 CST 2009


On Mon, Dec 7, 2009 at 5:22 PM, <hxie at umn.edu> wrote:

> Hi,
>
> I compile the petsc by
> -----
> ./config/configure.py COPTFLAGS=-O3 FOPTFLAGS=-O3
> --download-f-blas-lapack=1
> -----
> (.bashrc:
> export PETSC_DIR=$HOME/lib/petsc-3.0.0-p8
> export PETSC_ARCH=linux-gnu-c-opt
> )
> and the "make all" runs OK but the "make test" always fails (probably
> because the queueing
> system won't let the script launch an interactive multiprocessor job. The
> interactive command should be
> "mpirun -np 4 -hostfile hosts ~/ex1").

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.


It sounds like it has to do with your queuing system. I recommend you ask
the local sysadmin for that cluster.

  Matt


> Thanks.
>
> Part of error messages after running "make test"
> ------
> Running test examples to verify correct installation
> Possible error running C/C++ src/snes/examples/tutorials/ex19 with 1 MPI
> process
> See
> http://www.mcs.anl.gov/petsc/petsc-as/documentation/troubleshooting.html
> mpirun_ssh: option `-n' is ambiguous
> mpirun_ssh -timeout 200 -paramfile paramfile.11115 -n 1 ./ex19
> -dmmg_nlevels 4 failed!
> Removing temporary paramfile paramfile.11115
> ------
>
>
> Bests,
> Hui
>
>


-- 
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20091207/fd43bd71/attachment.htm>


More information about the petsc-users mailing list