From: Leopold P. A. <le...@wo...> - 2003-11-06 16:35:05
|
A Dijous 06 Novembre 2003 17:23, Jens Oeser va escriure: > Hi, > > I am running exactly the same installation (woody with petsc) and I set > PETSC_DIR and PETSC_ARCH in my .bashrc to: > > export PETSC_DIR="/usr/lib/petsc" > export PETSC_ARCH="linux" > > I also made a backport from petsc in Debian unstable (version 2.1.6) to > woody, which is not very difficult. Let me know if there are any > problems. > > Regards > Jens. Hi, thank's. I have tried it and not it works. How about to put it in a FAQ, README, etc. Howeber I have found a new error now. lepalom@e01:~/Finite element/libmesh-0.4.1-rc2$ make Makefile:71: warning: overriding commands for target `/rhome/lepalom/Finite' Makefile:62: warning: ignoring old commands for target `/rhome/lepalom/Finite' Compiling C++ (in optimized mode) src/base/dof_map.C... g++: cannot specify -o with -c or -S and multiple compilations make: *** [src/base/dof_map.i686-pc-linux-gnu.o] Error 1 I have found that it's not a problem with the compiler. It's about some empty var in the Makefiles, so the compiler had an error. The complete configure output is: epalom@e01:~/Finite element/libmesh-0.4.1-rc2$ export PETSC_DIR="/usr/lib/ petsc" lepalom@e01:~/Finite element/libmesh-0.4.1-rc2$ export PETSC_ARCH="linux" lepalom@e01:~/Finite element/libmesh-0.4.1-rc2$ ./configure --enable-mpi --enable-petsc --enable-laspack --------------------------------------------- ----------- Configuring libMesh ------------- --------------------------------------------- checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking target system type... i686-pc-linux-gnu checking for g++... g++ checking for C++ compiler default output... a.out checking whether the C++ compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking for gcc... gcc checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed <<< C++ compiler is gcc-2.95 >>> <<< Configuring library for broken iostream >>> checking how to run the C++ preprocessor... g++ -E checking for egrep... grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for short int... yes checking size of short int... 2 checking for int... yes checking size of int... 4 checking for long int... yes checking size of long int... 4 checking for float... yes checking size of float... 4 checking for double... yes checking size of double... 8 checking for void *... yes checking size of void *... 4 checking getopt.h usability... yes checking getopt.h presence... yes checking for getopt.h... yes checking whether the compiler implements namespaces... yes checking whether the compiler has locale... no checking whether the compiler has stringstream... yes checking hash_map usability... yes checking hash_map presence... yes checking for hash_map... yes checking hash_set usability... yes checking hash_set presence... yes checking for hash_set... yes checking zlib.h usability... no checking zlib.h presence... no checking for zlib.h... no <<< Configuring library with AMR support >>> <<< Configuring library with expensive data structures enabled >>> checking rpc/rpc.h usability... yes checking rpc/rpc.h presence... yes checking for rpc/rpc.h... yes <<< Configuring library with XDR support >>> <<< Configuring library with real number support >>> <<< Configuring library with reference counting support >>> checking for ./contrib/netcdf/lib/i686-pc-linux-gnu/libnetcdf.a... no checking for ./contrib/netcdf/include/netcdf.h... no --------------------------------------------- ----- Configuring for optional packages ----- --------------------------------------------- checking for ./contrib/sfcurves/sfcurves.h... yes ./configure: line 7513: test: /rhome/lepalom/Finite: binary operator expected checking for ./contrib/gzstream/gzstream.h... yes ./configure: line 7564: test: /rhome/lepalom/Finite: binary operator expected checking for ./contrib/tecplot/lib/i686-pc-linux-gnu/tecio.a... yes checking for ./contrib/tecplot/include/TECIO.h... yes ./configure: line 7693: test: too many arguments checking for ./contrib/laspack/lastypes.h... yes ./configure: line 7746: test: /rhome/lepalom/Finite: binary operator expected checking for /usr/lib/petsc/include/petsc.h... yes checking for g77... g77 checking whether we are using the GNU Fortran 77 compiler... yes checking whether g77 accepts -g... yes checking how to get verbose linking output from g77... -v checking for Fortran 77 libraries... -L/usr/lib/gcc-lib/i386-linux/2.95.4 -lg2c -lm <<< Configuring library with PETSc version 2.1.3 support >>> checking for ./contrib/metis/Lib/metis.h... yes ./configure: line 8530: test: /rhome/lepalom/Finite: binary operator expected checking for ./contrib/parmetis/Lib/parmetis.h... yes ./configure: line 8581: test: /rhome/lepalom/Finite: binary operator expected checking for doxygen... /usr/bin/doxygen checking for dot... no ---------------------------------------------- --- Done configuring for optional packages --- ---------------------------------------------- checking for perl... /usr/bin/perl configure: creating ./config.status config.status: creating Make.common config.status: creating include/mesh_config.h configure: creating ./config.status config.status: creating Make.common config.status: creating doc/Doxyfile config.status: creating include/mesh_config.h config.status: include/mesh_config.h is unchanged --------------------------------------------- --------- Done Configuring libMesh ---------- --------------------------------------------- Leo |