← Back to team overview

dorsal team mailing list archive

Re: Toward Dorsal 1.0.0

 

Problems with SCOTCH??


Performing C++ SOURCE FILE Test PETSC_TEST_RUNS failed with the
following output:
Change
Dir: /home/nuno/DORSAL_1.0.0/FEniCS/src/dolfin-1.0.0/dorsal_build_dir/CMakeFiles/CMakeTmp

Run Build Command:/usr/bin/make "cmTryCompileExec/fast"
/usr/bin/make -f CMakeFiles/cmTryCompileExec.dir/build.make
CMakeFiles/cmTryCompileExec.dir/build
make[1]: Entering directory
`/home/nuno/DORSAL_1.0.0/FEniCS/src/dolfin-1.0.0/dorsal_build_dir/CMakeFiles/CMakeTmp'
/usr/bin/cmake -E
cmake_progress_report /home/nuno/DORSAL_1.0.0/FEniCS/src/dolfin-1.0.0/dorsal_build_dir/CMakeFiles/CMakeTmp/CMakeFiles 1
Building CXX object CMakeFiles/cmTryCompileExec.dir/src.cxx.o
/usr/bin/c++    -DPETSC_TEST_RUNS -DMTL_HAS_BLAS
-I/home/nuno/DORSAL_1.0.0/FEniCS/include
-I/home/nuno/DORSAL_1.0.0/FEniCS/include/trilinos
-I/usr/lib/openmpi/include -I/usr/lib/openmpi/include/openmpi   -o
CMakeFiles/cmTryCompileExec.dir/src.cxx.o
-c /home/nuno/DORSAL_1.0.0/FEniCS/src/dolfin-1.0.0/dorsal_build_dir/CMakeFiles/CMakeTmp/src.cxx
Linking CXX executable cmTryCompileExec
/usr/bin/cmake -E cmake_link_script
CMakeFiles/cmTryCompileExec.dir/link.txt --verbose=1
/usr/bin/c++      -DPETSC_TEST_RUNS -DMTL_HAS_BLAS
CMakeFiles/cmTryCompileExec.dir/src.cxx.o  -o cmTryCompileExec
-rdynamic /home/nuno/DORSAL_1.0.0/FEniCS/lib/libpetsc.so /usr/lib/openmpi/lib/libmpi_cxx.so /usr/lib/openmpi/lib/libmpi.so /usr/lib/openmpi/lib/libopen-rte.so /usr/lib/openmpi/lib/libopen-pal.so -ldl -lnsl -lutil -lm -ldl -lnsl -lutil -lm 
/home/nuno/DORSAL_1.0.0/FEniCS/lib/libpetsc.so: undefined reference to
`SCOTCH_stratDgraphMapBuild'
collect2: ld returned 1 exit status
make[1]: Leaving directory
`/home/nuno/DORSAL_1.0.0/FEniCS/src/dolfin-1.0.0/dorsal_build_dir/CMakeFiles/CMakeTmp'
make[1]: *** [cmTryCompileExec] Error 1
make: *** [cmTryCompileExec/fast] Error 2

Return value: 1
Source file was:

#include "petscts.h"
#include "petsc.h"
int main()
{
  PetscErrorCode ierr;
  TS ts;
  int argc = 0;
  char** argv = NULL;
  ierr = PetscInitialize(&argc, &argv, PETSC_NULL,
PETSC_NULL);CHKERRQ(ierr);
  ierr = TSCreate(PETSC_COMM_WORLD,&ts);CHKERRQ(ierr);
  ierr = TSSetFromOptions(ts);CHKERRQ(ierr);
#if PETSC_VERSION_MAJOR == 3 && PETSC_VERSION_MINOR <= 1
  ierr = TSDestroy(ts);CHKERRQ(ierr);
#else
  ierr = TSDestroy(&ts);CHKERRQ(ierr);
#endif
  ierr = PetscFinalize();CHKERRQ(ierr);
  return 0;
}



On Mon, 2011-12-12 at 14:57 +0100, Johannes Ring wrote: 
> On Mon, Dec 12, 2011 at 2:44 PM, Nuno Lopes <ndlopes@xxxxxxxxx> wrote:
> > Hi,
> >
> > Just an extra note that might help regarding the Maverick-32 bit
> > petsc/slepc issue.
> > I didn't had any problem with dorsal-1.0beta.
> >
> > On the other hand, for me this is not a new issue,
> > I remember that I had had some troubles with suitesparse when trying to
> > compile dolfin with  UMFPACK and PETSC.
> >
> > But it could also be that my Maverick is not in good shape.
> 
> Have you tried to remove dorsal_build_dir in the DOLFIN source
> directory and then run Dorsal again? If that doesn't help, look in
> dorsal_build_dir/CMakeFiles/CMakeError.log for clues.
> 
> Johannes

-- 
----------------------------------------------------
Nuno David Lopes

e-mail:ndl (at) ptmat.fc.ul.pt        (FCUL/CMAF)
       nlopes (at) adm.isel.pt    (ADM/ISEL)
       ndlopes (at) gmail.com
http://ptmat.ptmat.fc.ul.pt/%7Endl/ 
-------------Dolfwave Project-----------------------
https://launchpad.net/dolfwave 
----------------------------------------------------

Attachment: signature.asc
Description: This is a digitally signed message part


Follow ups

References