Compiling on Solaris 10 for X86

Yi-Feng Adam Zhang Adam.Zhang at Sun.COM
Thu May 10 02:19:16 CDT 2007


Hi all,

Recently I am compiling the PETSc 2.3.2 -P10 on Solaris 10 for X86 with 
GCC and Sun's f90.
Here is the command I give to configure.py:
./config/configure.py --download-f-blas-lapack=1 --with-mpi=0

Yes. I don't use the MPI intendedly.  Because I want to make sure every 
thing is ok before using MPI.
When I input the command "make all", every  thing looks fine.
But when I try to use "make test" to verify, I get the following error:
----------------------------------------------
-bash-3.00# more test_log_solaris2.10-c-debug
Running test examples to verify correct installation
C/C++ example src/snes/examples/tutorials/ex19 run successfully with 1 
MPI process
Graphics example src/snes/examples/tutorials/ex19 run successfully with 
1 MPI process
sh: test: argument expected
*** Error code 1 (ignored)
The following command caused the error:
if test -e ex19.exe; then /usr/bin/rm -f ex19.exe; fi
sh: test: argument expected
*** Error code 1 (ignored)
The following command caused the error:
if test -e ex19.ilk; then /usr/bin/rm -f ex19.ilk; fi
sh: test: argument expected
*** Error code 1 (ignored)
The following command caused the error:
if test -e ex19.pdb; then /usr/bin/rm -f ex19.pdb; fi
sh: test: argument expected
*** Error code 1 (ignored)
The following command caused the error:
if test -e ex19.tds; then /usr/bin/rm -f ex19.tds; fi
Fortran example src/snes/examples/tutorials/ex5f run successfully with 1 
MPI process
sh: test: argument expected
*** Error code 1 (ignored)
The following command caused the error:
if test -e ex5f.exe; then /usr/bin/rm -f ex5f.exe; fi
sh: test: argument expected
*** Error code 1 (ignored)
The following command caused the error:
if test -e ex5f.ilk; then /usr/bin/rm -f ex5f.ilk; fi
sh: test: argument expected
*** Error code 1 (ignored)
The following command caused the error:
if test -e ex5f.pdb; then /usr/bin/rm -f ex5f.pdb; fi
sh: test: argument expected
*** Error code 1 (ignored)
The following command caused the error:
if test -e ex5f.tds; then /usr/bin/rm -f ex5f.tds; fi
Completed test examples
-----------------------------------------------

Does anyone have any suggestion?  Thanks in advance!

Regards,
Adam




More information about the petsc-dev mailing list