[petsc-dev] someone missed DMDA location?

Barry Smith bsmith at mcs.anl.gov
Mon Mar 14 08:24:56 CDT 2011


testexamples_C_X11 in: /Users/barrysmith/Src/petsc-dev/src/dm/examples/tests
3c3
< Vector Object:
---
> Vector Object: 2 MPI processes
Possible problem with ex2_1, diffs above
WARNING! There are options you set that were not used!
WARNING! could be spelling mistake, etc!
Option left: name:-test_order no value 
--------------Error detected during compile or link!-----------------------
See http://www.mcs.anl.gov/petsc/petsc-2/documentation/faq.html
/Users/barrysmith/Src/petsc-dev/arch-gnu/bin/mpicc -o ex7.o -c -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -I/Users/barrysmith/Src/petsc-dev/include -I/Users/barrysmith/Src/petsc-dev/arch-gnu/include -I/opt/local/include -D__INSDIR__=src/dm/examples/tests/ ex7.c
ex7.c: In function ‘main’:
ex7.c:39: warning: passing argument 12 of ‘DMDACreate2d’ from incompatible pointer type
ex7.c:39: error: too few arguments to function ‘DMDACreate2d’
ex7.c:42: warning: passing argument 15 of ‘DMDACreate3d’ from incompatible pointer type
ex7.c:42: error: too few arguments to function ‘DMDACreate3d’
make[7]: [ex7.o] Error 1 (ignored)
/Users/barrysmith/Src/petsc-dev/arch-gnu/bin/mpicc -Wl,-multiply_defined,suppress -Wl,-multiply_defined -Wl,suppress -Wl,-commons,use_dylibs -Wl,-search_paths_first -Wl,-multiply_defined,suppress -Wl,-multiply_defined -Wl,suppress -Wl,-commons,use_dylibs -Wl,-search_paths_first  -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3  -o ex7 ex7.o  -L/Users/barrysmith/Src/petsc-dev/arch-gnu/lib  -lpetsc -L/usr/X11R6/lib -lX11 -lcmumps -ldmumps -lsmumps -lzmumps -lmumps_common -lpord -lscalapack -lblacs -lparmetis -lmetis -lptesmumps -lptscotch -lptscotcherr -llapack -lblas -L/usr/lib/gcc/i686-apple-darwin10/4.2.1/x86_64 -L/usr/lib/i686-apple-darwin10/4.2.1 -L/usr/lib/gcc/i686-apple-darwin10/4.2.1 -ldl -lpmpich -lmpich -lopa -lmpl -lpthread -lSystem -lmpichf90 -lgfortran -L/usr/local/lib/gcc/x86_64-apple-darwin10.4.0/4.6.0 -L/usr/local/lib -lgfortran -lgcc_ext.10.5 -lm -lz -lz -ldl -lpmpich -lmpich -lopa -lmpl -lpthread -lSystem -ldl 
i686-apple-darwin10-gcc-4.2.1: ex7.o: No such file or directory
make[7]: [ex7] Error 1 (ignored)
/bin/rm -f -f ex7.o
testexamples_C_X11 in: /Users/barrysmith/Src/petsc-dev/src/dm/examples/tutorials
testexamples_C_X11 in: /Users/barrysmith/Src/petsc-dev/src/ksp


and messed up the Fortran of another

--------------Error detected during compile or link!-----------------------
See http://www.mcs.anl.gov/petsc/petsc-2/documentation/faq.html
/Users/barrysmith/Src/petsc-dev/arch-gnu/bin/mpif90 -c  -Wall -Wno-unused-variable -g  -I/Users/barrysmith/Src/petsc-dev/include -I/Users/barrysmith/Src/petsc-dev/arch-gnu/include -I/opt/local/include    -o ex11f90.o ex11f90.F
ex11f90.F:128.71:

     &     DMDA_BOUNDARY_NONE,DMDA_BOUNDARY_NONE,                      &
                                                                       1
Error: Syntax error in argument list at (1)
make[7]: [ex11f90.o] Error 1 (ignored)
/Users/barrysmith/Src/petsc-dev/arch-gnu/bin/mpif90 -Wl,-multiply_defined,suppress -Wl,-multiply_defined -Wl,suppress -Wl,-commons,use_dylibs -Wl,-search_paths_first -Wl,-multiply_defined,suppress -Wl,-multiply_defined -Wl,suppress -Wl,-commons,use_dylibs -Wl,-search_paths_first   -Wall -Wno-unused-variable -g  -o ex11f90 ex11f90.o  -L/Users/barrysmith/Src/petsc-dev/arch-gnu/lib  -lpetsc -L/usr/X11R6/lib -lX11 -lcmumps -ldmumps -lsmumps -lzmumps -lmumps_common -lpord -lscalapack -lblacs -lparmetis -lmetis -lptesmumps -lptscotch -lptscotcherr -llapack -lblas -L/usr/lib/gcc/i686-apple-darwin10/4.2.1/x86_64 -L/usr/lib/i686-apple-darwin10/4.2.1 -L/usr/lib/gcc/i686-apple-darwin10/4.2.1 -ldl -lpmpich -lmpich -lopa -lmpl -lpthread -lSystem -lmpichf90 -lgfortran -L/usr/local/lib/gcc/x86_64-apple-darwin10.4.0/4.6.0 -L/usr/local/lib -lgfortran -lgcc_ext.10.5 -lm -lz -lz -ldl -lpmpich -lmpich -lopa -lmpl -lpthread -lSystem -ldl 
gfortran: error: ex11f90.o: No such file or directory
make[7]: [ex11f90] Error 1 (ignored)
/bin/rm -f -f ex11f90.o
testexamples_F90_NoComplex in: /Users/barrysmith/Src/petsc-dev/src/ksp
testexamples_F90_NoComplex in: /Users/barrysmith/Src/petsc-dev/src/ksp/pc




More information about the petsc-dev mailing list