← Back to team overview

dolfin team mailing list archive

Re: [HG DOLFIN] Added CHOLMOD as optional dependency.

 

The test for CHOLMOD fail on my machine when I remove liblapack3fg and use atlas,

g++ -I/usr/include/suitesparse cholmod_config_test_include.cpp -L/usr -llapack -L/usr -lblas -L/usr/lib -lcholmod -L/usr/lib -lamd -L/usr/lib -lcolamd
Failed test program was:

#include <stdio.h>
#include <cholmod.h>

int main() {
  #ifdef CHOLMOD_MAIN_VERSION
    #ifdef CHOLMOD_SUB_VERSION
      #ifdef CHOLMOD_SUBSUB_VERSION
printf("%d.%d.%d", CHOLMOD_MAIN_VERSION,CHOLMOD_SUB_VERSION,CHOLMOD_SUBSUB_VERSION);
      #else
        printf("%d.%d", CHOLMOD_MAIN_VERSION,CHOLMOD_SUB_VERSION);
      #endif
    #else
      printf("%d", CHOLMOD_MAIN_VERSION);
    #endif
  #endif
  return 0;
}

Error message:
/usr/bin/ld: cannot find -llapack
collect2: ld returned 1 exit status

Garth

DOLFIN wrote:
One or more new changesets pushed to the primary dolfin repository.
A short summary of the last three changesets is included below.

changeset:   4599:bcc140c752dceba8fd4cf370997ad457871e3bbe
tag:         tip
user:        Johannes Ring <johannr@xxxxxxxxx>
date:        Mon Aug 18 13:09:15 2008 +0200
files:       SConstruct dolfin/scons.cfg
description:
Added CHOLMOD as optional dependency.


changeset:   4598:1a2d241d7d00401800fa1dbe2a17aa75287479c8
user:        Johannes Ring <johannr@xxxxxxxxx>
date:        Mon Aug 18 13:08:37 2008 +0200
files:       scons/simula-scons/simula_scons/Customize.py scons/simula-scons/simula_scons/__init__.py scons/simula-scons/simula_scons/pkgconfig.py scons/simula-scons/simula_scons/pkgconfiggenerators/cholmod.py scons/simula-scons/simula_scons/pkgconfiggenerators/commonPkgConfigUtils.py
description:
simula-scons update.


changeset:   4597:52fe4d684f7e7703f285d9dbb5237926e817b73e
parent:      4594:e92305bdc5377cd49f854d1d835b749fadb835b7
parent:      4596:7a229461cb9d1e29f0e4e8c9d98c6d321759d15b
user:        "Garth N. Wells <gnw20@xxxxxxxxx>"
date:        Mon Aug 18 11:03:17 2008 +0100
files: description:
merge.

----------------------------------------------------------------------
For more details, visit http://www.fenics.org/hg/dolfin
_______________________________________________
DOLFIN-dev mailing list
DOLFIN-dev@xxxxxxxxxx
http://www.fenics.org/mailman/listinfo/dolfin-dev




Follow ups

References