dolfin team mailing list archive
-
dolfin team
-
Mailing list archive
-
Message #02375
Re: Problems with compiling DOLFIN on Redhat
Try
->which dolfin-config
Garth
On Sat, 2006-04-08 at 01:54 -0700, Alireza Forghani wrote:
> Hi Anders,
>
> Thats right when I run dolfin-config --cflags from /src/config it returns:
>
> -I/data/alireza/dolfin-0.6.1/local/include -I../../src/kernel/common
> -I../../src/kernel/fem -I../../src/kernel/form
> -I../../src/kernel/function -I../../src/kernel/io -I../../src/kernel/la
> -I../../src/kernel/main -I../../src/kernel/math -I../../src/kernel/mesh
> -I../../src/kernel/nls -I../../src/kernel/ode -I../../src/kernel/pde
> -I../../src/kernel/quadrature -I../../src/kernel/parameter
> -I../../src/kernel/log -I/data/alireza/petsc-2.3.1-p11
> -I/data/alireza/petsc-2.3.1-p11/bmake/linux-gnu-c-real-debug
> -I/data/alireza/petsc-2.3.1-p11/include
> -I/data/alireza/petsc-2.3.1-p11/externalpackages/mpich2-1.0.3/linux-gnu-c-real-debug/include
> -I/usr/local/mpich/default/include -I/usr/include/libxml2
> -I../../src/modules/elasticity -I../../src/modules/elasticity-updated
> -I../../src/modules/convdiff -I../../src/modules/navierstokes
> -I../../src/modules/poisson -I../../src/modules/stokes
> -I../../src/modules/heat -I../../src/kernel/common
> -I../../src/kernel/fem -I../../src/kernel/form
> -I../../src/kernel/function -I../../src/kernel/io -I../../src/kernel/la
> -I../../src/kernel/main -I../../src/kernel/math -I../../src/kernel/mesh
> -I../../src/kernel/nls -I../../src/kernel/ode -I../../src/kernel/pde
> -I../../src/kernel/quadrature -I../../src/kernel/parameter
> -I../../src/kernel/log -I/data/alireza/petsc-2.3.1-p11
> -I/data/alireza/petsc-2.3.1-p11/bmake/linux-gnu-c-real-debug
> -I/data/alireza/petsc-2.3.1-p11/include
> -I/data/alireza/petsc-2.3.1-p11/externalpackages/mpich2-1.0.3/linux-gnu-c-real-debug/include
> -I/usr/local/mpich/default/include -I/usr/include/libxml2
> -I../../src/modules/
>
> which is right and when I do from another folder:
>
> -I/usr/local/include -I../../src/kernel/common -I../../src/kernel/fem
> -I../../src/kernel/form -I../../src/kernel/function
> -I../../src/kernel/io -I../../src/kernel/la -I../../src/kernel/main
> -I../../src/kernel/math -I../../src/kernel/mesh -I../../src/kernel/nls
> -I../../src/kernel/ode -I../../src/kernel/pde
> -I../../src/kernel/quadrature -I../../src/kernel/parameter
> -I../../src/kernel/log -I/data/daan/FeNics/petsc-2.3.1-p2
> -I/data/daan/FeNics/petsc-2.3.1-p2/bmake/linux-gnu-intel
> -I/data/daan/FeNics/petsc-2.3.1-p2/include
> -I/data/daan/FeNics/petsc-2.3.1-p2/include/mpiuni
> -I/usr/local/mpich/default/include -I/usr/include/libxml2
> -I../../src/modules/elasticity -I../../src/modules/elasticity-updated
> -I../../src/modules/convdiff -I../../src/modules/navierstokes
> -I../../src/modules/poisson -I../../src/modules/stokes
> -I../../src/modules/heat -I../../src/kernel/common
> -I../../src/kernel/fem -I../../src/kernel/form
> -I../../src/kernel/function -I../../src/kernel/io -I../../src/kernel/la
> -I../../src/kernel/main -I../../src/kernel/math -I../../src/kernel/mesh
> -I../../src/kernel/nls -I../../src/kernel/ode -I../../src/kernel/pde
> -I../../src/kernel/quadrature -I../../src/kernel/parameter
> -I../../src/kernel/log -I/data/daan/FeNics/petsc-2.3.1-p2
> -I/data/daan/FeNics/petsc-2.3.1-p2/bmake/linux-gnu-intel
> -I/data/daan/FeNics/petsc-2.3.1-p2/include
> -I/data/daan/FeNics/petsc-2.3.1-p2/include/mpiuni
> -I/usr/local/mpich/default/include -I/usr/include/libxml2
> -I../../src/modules/
>
> Which is daan!!
>
> echo $PATH returns:
>
> [alireza@master src]$ echo $PATH
> data/alireza/dolfin0.6.1/local/bin:/opt/intel/intel_idb_80/bin:/opt/intel/intel_fc_80/bin:/opt/intel/intel_cc_80/bin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/local/aspen/bin:/usr/local/mpich/default/bin:/usr/local/openpbs/bin:/opt/compro/bin:/data/alireza/bin
>
> dolfin-config is in the first directory:
> data/alireza/dolfin0.6.1/local/bin
>
>
> and when I did dolfin-config --cflags from /src/config from data/alireza/dolfin0.6.1/local/bin
> it returns:
> [alireza@master bin]$ ./dolfin-config --cflags
> -I/data/alireza/dolfin-0.6.1/local/include -I../../src/kernel/common -I../../src/kernel/fem -I../../src/kernel/form -I../../src/kernel/function -I../../src/kernel/io -I../../src/kernel/la -I../../src/kernel/main -I../../src/kernel/math -I../../src/kernel/mesh -I../../src/kernel/nls -I../../src/kernel/ode -I../../src/kernel/pde -I../../src/kernel/quadrature -I../../src/kernel/parameter -I../../src/kernel/log -I/data/alireza/petsc-2.3.1-p11 -I/data/alireza/petsc-2.3.1-p11/bmake/linux-gnu-c-real-debug -I/data/alireza/petsc-2.3.1-p11/include -I/data/alireza/petsc-2.3.1-p11/externalpackages/mpich2-1.0.3/linux-gnu-c-real-debug/include -I/usr/local/mpich/default/include -I/usr/include/libxml2 -I../../src/modules/elasticity -I../../src/modules/elasticity-updated -I../../src/modules/convdiff -I../../src/modules/navierstokes -I../../src/modules/poisson -I../../src/modules/stokes -I../../src/modules/heat -I../../src/kernel/common -I../../src/kernel/fem -I../../src/kernel/form -I../../
s
> rc/kernel/function -I../../src/kernel/io -I../../src/kernel/la -I../../src/kernel/main -I../../src/kernel/math -I../../src/kernel/mesh -I../../src/kernel/nls -I../../src/kernel/ode -I../../src/kernel/pde -I../../src/kernel/quadrature -I../../src/kernel/parameter -I../../src/kernel/log -I/data/alireza/petsc-2.3.1-p11 -I/data/alireza/petsc-2.3.1-p11/bmake/linux-gnu-c-real-debug -I/data/alireza/petsc-2.3.1-p11/include -I/data/alireza/petsc-2.3.1-p11/externalpackages/mpich2-1.0.3/linux-gnu-c-real-debug/include -I/usr/local/mpich/default/include -I/usr/include/libxml2 -I../../src/modules/
>
> which seems right
> May be it is runs Daan's DOLFIN instead of mine!!!
>
>
> Alireza
>
>
>
>
>
>
>
> Anders Logg wrote:
>
> That looks right. It says alireza and not daan.
>
> Then I would be *very* surprised if dolfin-config is not correct also.
>
> Check the dolfin-config (in the same directory). It should contain the
> correct paths.
>
> Then runnin dolfin-config --cflags must also return the correct path.
> Go to src/config and do
>
> ./dolfin-config --cflags
>
> I'd be very surprised if it doesn't return the correct path.
>
> Then go to another directory and do
>
> ./dolfin-config --cflags
>
> If that does not also return the correct path, then the dolfin-config
> in your PATH must be the wrong dolfin-config.
>
> Maybe dolfin-config has been installed somewhere else in your PATH?
>
> Type
>
> echo $PATH
>
> then check if dolfin-config is in any of the directories.
>
> /Anders
>
>
>
> _______________________________________________
> DOLFIN-dev mailing list
> DOLFIN-dev@xxxxxxxxxx
> http://www.fenics.org/cgi-bin/mailman/listinfo/dolfin-dev
Follow ups
References