installing fenics via dorsal in opensuse

Asked by B. Emek Abali

Dear all,

I need to install fenics into one of our servers running with opensuse 10

After some dependency problems, I am stuck with that problem:

------------------------------------------------------------------------------------------
...
Processing enabled package: PyTrilinos
-- Found PythonInterp: /usr/bin/python2.5 (Required is at least version "2.2")
CMake Error at packages/PyTrilinos/cmake/FindNumPy.cmake:75 (MESSAGE):
  Required NumPy python module not found
Call Stack (most recent call first):
  packages/PyTrilinos/CMakeLists.txt:148 (FIND_PACKAGE)

CMake Error at packages/PyTrilinos/cmake/FindSWIG.cmake:68 (MESSAGE):
  SWIG was not found. Please specify Swig executable location
Call Stack (most recent call first):
  packages/PyTrilinos/CMakeLists.txt:151 (FIND_PACKAGE)

-- Configuring incomplete, errors occurred!
------------------------------------------------------------------------------------------

Question: Should first the numpy installed (in standard repositories exists no package under the name numpy) ?

Question information

Language:
English Edit question
Status:
Solved
For:
DOLFIN Edit question
Assignee:
No assignee Edit question
Solved by:
Andre Massing
Solved:
Last query:
Last reply:
Revision history for this message
Andre Massing (massing) said :
#1

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi!

On 07/07/2011 01:41 PM, B. Emek Abali wrote:
> New question #164054 on DOLFIN:
> https://answers.launchpad.net/dolfin/+question/164054
>
> Dear all,
>
> I need to install fenics into one of our servers running with opensuse 10

Which opensuse 10 version? There was a 10.2 and 10.3 version. Or did you
mean SUSE Linux 10 ?

>
> After some dependency problems, I am stuck with that problem:
>
> ------------------------------------------------------------------------------------------
> ...
> Processing enabled package: PyTrilinos
> -- Found PythonInterp: /usr/bin/python2.5 (Required is at least version "2.2")
> CMake Error at packages/PyTrilinos/cmake/FindNumPy.cmake:75 (MESSAGE):
> Required NumPy python module not found
> Call Stack (most recent call first):
> packages/PyTrilinos/CMakeLists.txt:148 (FIND_PACKAGE)
>
>
> CMake Error at packages/PyTrilinos/cmake/FindSWIG.cmake:68 (MESSAGE):
> SWIG was not found. Please specify Swig executable location
> Call Stack (most recent call first):
> packages/PyTrilinos/CMakeLists.txt:151 (FIND_PACKAGE)
>
>
> -- Configuring incomplete, errors occurred!
> ------------------------------------------------------------------------------------------
>
> Question: Should first the numpy installed (in standard repositories exists no package under the name numpy) ?

Since you are facing a rather old version of (open)suse and the build
service OBS does not support these ones
according to
http://software.opensuse.org/114/en ,

it will be difficult to find rpms (I guess). Have you tried to install
numpy directly, bypassing the package system? Last time I had to do that
it work flawlessly for me.

HTH
Andre

>
> You received this question notification because you are a member of
> DOLFIN Team, which is an answer contact for DOLFIN.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJOFaOWAAoJEA79ggnbq9dmDrQH/3pFQGDGSlz4kMLQ1ZILEpNW
uw4udJOdRmbbUUiz70rsMasZGDcs78uPovkf7W2FwEtkOHQRUziXBKSwB256uSlK
XnSGPmZGbG6iPZ3PSU4WeyvhT6Nwj6CZdpRPy9cguphLG3c2U/WoP0hkAMhBwoWZ
ZDa6gsQ/nRCp4C/u31S8NLKBjw9hwLpYYgmtQMc1vNxlkOz1ksuZOQFpKnEdAla6
+zXWNSGTz+0OyIDywtJqRwcdS8laqBm28vVTypl1z7danyjNRLS6YPgswnokw9mw
PAk17k3gKUkS3EGHL5DTiLIW2sFUmn3dcc12f/gT9OVCbM2fiEnSwR6zi8Sof/M=
=ub4m
-----END PGP SIGNATURE-----

Revision history for this message
B. Emek Abali (bilenemek) said :
#2

sorry for the lack of info:

Linux version 2.6.25.20-0.7-default
(gcc version 4.3.1 20080507 (prerelease) [gcc-4_3-branch revision 135036] (SUSE Linux) )

Revision history for this message
Andre Massing (massing) said :
#3

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 07/07/2011 04:06 PM, B. Emek Abali wrote:
> Question #164054 on DOLFIN changed:
> https://answers.launchpad.net/dolfin/+question/164054
>
> Status: Answered => Open
>
> B. Emek Abali is still having a problem:
> sorry for the lack of info:
>
> Linux version 2.6.25.20-0.7-default
> (gcc version 4.3.1 20080507 (prerelease) [gcc-4_3-branch revision 135036] (SUSE Linux) )
>

Since rpm packages are difficult to get for that old suse variant I
would try to install the needed packages manually or with dorsal. Have
you already tried to use dorsal? If not, please have a look at it:

https://launchpad.net/dorsal

and its documentation describing how to use it to install FEniCS.
You could provide your own platform file including the packages you
need, for instance with the following content (depending on the packages
you want / or can principally install onyour system,
not completely sure about the PETSC_ARCH and SCOTCH_ARCH variables):

default PETSC_ARCH=linux-gnu-cxx-opt
default SCOTCH_ARCH=pc_linux2

# Define the packages this platform needs
PACKAGES=(
swig
numpy
parmetis
trilinos
petsc
slepc
armadillo
# swiginac
mtl
cgal
scientificpython
fiat
# ferari
ufc
ufl
ffc
# syfi
viper
instant
dolfin
)

Save this into a suse10.platform file and execute
./dorsal.sh suse10.platform
from with the dorsal folder.
No promise that it will work, but with some modification you might get
it to work (don't hesitate to ask!) There were a recent post in the
dorsal ml about successful installation on a rather ancient linux
(CentOS 5.5)

God luck,
Andre

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJOFcesAAoJEA79ggnbq9dmdBwH/1+oLb808nRBT1CQ/qoeM/6d
rUY1QLBDZnfqrgPUDY8alCP1amco7qn6nt6CgnPQo8pS4/11U0AI4MTuxU4ZrHZq
9T99g5v6QyiOj3LxQUTfBD5zDHugzxNsETbmGKH0PmVME/tUWY/X3ihF4TFj2qRd
dH2pcyu2hyj0h5lZdQdxnjbVZIXlGecmfmNSOS4l0vn4xQ7LdJq4UejQ6eF8SRpM
OCADklnxvgN7MWae8m2nQUsGO7vhzPJyol7wy71fmqY4G2R+fGKhWHXGVSrj2sa4
iYdkNioR9LNzECSVNCjGZLaGSww8ElHCywaJ3pS4sTvk6XTuqJ8lVzyl6GEwkCs=
=Rv/L
-----END PGP SIGNATURE-----

Revision history for this message
B. Emek Abali (bilenemek) said :
#4

Thanks a lot, I did a huge step, but PETSC exited somehow:

Install the project...
-- Install configuration: "RELEASE"
make: Leaving directory `/root/Work/FEniCS/src/trilinos-10.6.2-Source/dorsal_build_dir'
Fetching petsc-3.1-p7
--2011-07-07 17:53:47-- http://ftp.mcs.anl.gov/pub/petsc/release-snapshots/petsc-3.1-p7.tar.gz
Resolving ftp.mcs.anl.gov... 140.221.6.23
Connecting to ftp.mcs.anl.gov|140.221.6.23|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 15458474 (15M) [application/x-gzip]
Saving to: `petsc-3.1-p7.tar.gz'

100%[======================================>] 15,458,474 5.59M/s in 2.6s

2011-07-07 17:53:50 (5.59 MB/s) - `petsc-3.1-p7.tar.gz' saved [15458474/15458474]

Unpacking petsc-3.1-p7
Building petsc-3.1-p7
===============================================================================
             Configuring PETSc to compile on your system
===============================================================================
*******************************************************************************
                ERROR in COMMAND LINE ARGUMENT to config/configure.py
-------------------------------------------------------------------------------
Nonexistent directory: /root/Work/FEniCS/include/trilinos for key with-ml-include
*******************************************************************************

after adding the directory:

Invalid library: /root/Work/FEniCS/lib/libml.so for key with-ml-lib

what is ?
with-ml

Revision history for this message
Andre Massing (massing) said :
#5

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 07/07/2011 06:06 PM, B. Emek Abali wrote:
> Question #164054 on DOLFIN changed:
> https://answers.launchpad.net/dolfin/+question/164054
>
> Status: Answered => Open
>
> B. Emek Abali is still having a problem:
> Thanks a lot, I did a huge step, but PETSC exited somehow:
>
>
> Install the project...
> -- Install configuration: "RELEASE"
> make: Leaving directory `/root/Work/FEniCS/src/trilinos-10.6.2-Source/dorsal_build_dir'
> Fetching petsc-3.1-p7
> --2011-07-07 17:53:47-- http://ftp.mcs.anl.gov/pub/petsc/release-snapshots/petsc-3.1-p7.tar.gz
> Resolving ftp.mcs.anl.gov... 140.221.6.23
> Connecting to ftp.mcs.anl.gov|140.221.6.23|:80... connected.
> HTTP request sent, awaiting response... 200 OK
> Length: 15458474 (15M) [application/x-gzip]
> Saving to: `petsc-3.1-p7.tar.gz'
>
> 100%[======================================>] 15,458,474 5.59M/s in
> 2.6s
>
> 2011-07-07 17:53:50 (5.59 MB/s) - `petsc-3.1-p7.tar.gz' saved
> [15458474/15458474]
>
> Unpacking petsc-3.1-p7
> Building petsc-3.1-p7
> ===============================================================================
> Configuring PETSc to compile on your system
> ===============================================================================
> *******************************************************************************
> ERROR in COMMAND LINE ARGUMENT to config/configure.py
> -------------------------------------------------------------------------------
> Nonexistent directory: /root/Work/FEniCS/include/trilinos for key with-ml-include
> *******************************************************************************
>
>
> after adding the directory:
>
> Invalid library: /root/Work/FEniCS/lib/libml.so for key with-ml-lib
>
> what is ?
> with-ml

That means that petsc is configured to use the multilevel preconditioner
from the trilinos project, IIRC.
You have probably already check the the existence of the folder in
question? If not could you check the mentioned nonexistent directory and
the invalid library?
Did you see any suspicious output while compiling and installing
trilinos via dorsal?

In any case the complete dorsal terminal output might be interesting,
you can paste it e.g. at pastebin.com or at http://susepaste.org/
(and your platform file in case you used a modified version of what I
suggested, the order of packages is important, and trilinos should come
before petsc)

Cheers,
- --
Andre

>
> You received this question notification because you are a member of
> DOLFIN Team, which is an answer contact for DOLFIN.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJOFetLAAoJEA79ggnbq9dmU/QIAI1+oVoQH1+Xi+PGz/MneBNl
/Mv6rYeqvwV+upn773S1gy7pV1zS+SIt0IEEA5xVV+hBsCgy7/geeDg3FHvjn8R7
uX3qRAkrwA6ZDwU4cmmiEOhRtXsl0pI/6s+BLQ8++VzttY8IZWEe3qr5/eb4ZBBK
OtEZchV8R+f3U1ULcaajRqsyKci/Mb5g/3mkNO4sTfLYFXk+BrZ4MxtEruJrNl/g
n+Mj7opoJZzES5JIzTpN2RfADFqgcl2bdLbK5LL8L5ijMtQZyQ6EEheSr9j70jkJ
i2eIxl30w7h9YlR+txGiTP0zNWmi5UgopX/mu+pLeczuzxZdOSLPEVcaJAStGlc=
=L75E
-----END PGP SIGNATURE-----

Revision history for this message
B. Emek Abali (bilenemek) said :
#6

I added the directory manually than in a later step it could not find the library, the lib is really not there, platform is in the order as you proposed:

PACKAGES=(
swig
numpy
parmetis
trilinos
petsc
slepc
armadillo
# swiginac
mtl
scientificpython
fiat
# ferari
ufc
ufl
ffc
# syfi
viper
instant
dolfin
)

-----------------------------------
the terminal output is http://pastebin.com/YGpTta1T

there are some NOT AVAILABLE warnings to the lapack-mtl and atlas packages, which is probably the failure of missing library, what do you think?

Revision history for this message
Andre Massing (massing) said :
#7

On 07/08/2011 12:21 PM, B. Emek Abali wrote:
> Question #164054 on DOLFIN changed:
> https://answers.launchpad.net/dolfin/+question/164054
>
> Status: Answered => Open
>
> B. Emek Abali is still having a problem:
> I added the directory manually than in a later step it could not find
> the library, the lib is really not there, platform is in the order as
> you proposed:
>
> PACKAGES=(
> swig
> numpy
> parmetis
> trilinos
> petsc
> slepc
> armadillo
> # swiginac
> mtl
> scientificpython
> fiat
> # ferari
> ufc
> ufl
> ffc
> # syfi
> viper
> instant
> dolfin
> )
>
> -----------------------------------
> the terminal output is http://pastebin.com/YGpTta1T
>
> there are some NOT AVAILABLE warnings to the lapack-mtl and atlas
> packages, which is probably the failure of missing library, what do you
> think?

At a first quick look that is the reasons since Trilinos configuring end
up with the message:

WARNING: There were no packages configured so no libraries or
tests/examples will be built.

But that did not issue an error message, so dorsal kept running and
assumed ML to be in place. There are also some other libs missing, for
example the atlas lib...

However, to reduce the complexity of the compiling process and to
isolated error sources I would suggest that you start of with a
simplified version of the platform file to get a basic installation up
and running.
Swig, numpy, parmetis seem to be fine, but skip the trilinos package
(comment line with #) then petsc will not rely on that. To be absolutely
sure about that, wipe out the petsc folder (just leave the downloaded
tar.gz file there), since I have no clue about what petsc config scripts
might cache during the configure process.

Just to mentally prepare :) ourselves for some of the upcoming later
build failures (there will definitely a few more, I bet) : Is a recent
vtk and python-vtk version installed on your system (which one)?

Installing such a project as FEniCS with dependencies on other large
project on a older system which does not really feed us, is quite a bit
of a hassle, but I hope we get you through :)

HTH,
Andre

Revision history for this message
B. Emek Abali (bilenemek) said :
#8

thanks a lot for helping me through :)

first,l commenting trilinos helped but introduced another one: http://pastebin.com/kqX5t1vT
second, if trilinos is commented, may I use the conjugated gradient iterative solver?

I run first, as commented in opensuse platform
# sudo zypper install -C lsb bzr subversion libxml2-devel gcc gcc-c++ \
# openmpi-devel python-devel python-numpy python-numpy-devel swig \
# wget boost-devel vtk-python liblapack3 libblas3 liblapack3 \
# mpfr-devel suitesparse-common-devel gmp-devel cmake umfpack-devel \
# libumfpack5 CGAL-devel scotch-devel libatlas3-devel flex

so actually no ctk or python-vtk is installed, just get, thus:

... # rpm -qa | grep vtk
... # rpm -qa | grep python
python-doc-2.5.1-75.1
python-kde3-3.16.0-124.1
python-2.5.2-26.6
python-xml-2.5.2-26.6
gimp-plugins-python-2.4.5-41.2
python-cairo-1.4.12-19.1
libvirt-python-0.4.0-59.4
dbus-1-python-0.82.4-49.1
python-devel-2.5.2-26.6
python-numeric-24.2-162.1
python-compizconfig-0.7.4-28.1
python-qt4-4.4.2-6.1
python-opengl-2.0.1.09-224.1
python-gobject2-2.14.1-15.1
libxml2-python-2.6.32-14.1
python-qscintilla-1.73-103.1
python-tk-2.5.2-26.6
python-gtk-2.12.1-18.1
python-sip-4.7.6-5.1
python-gtksourceview-2.2.0-15.1
python-cairo-devel-1.4.12-19.1
python-idle-2.5.2-26.6
python-gobject2-devel-2.14.1-15.1
python-qt-3.17.4-49.1
python-gtk-devel-2.12.1-18.1

Revision history for this message
Andre Massing (massing) said :
#9

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi!

Sorry for the late reply, but I have been without internet since Saturday.

On 07/08/2011 06:31 PM, B. Emek Abali wrote:
> Question #164054 on DOLFIN changed:
> https://answers.launchpad.net/dolfin/+question/164054
>
> Status: Answered => Open
>
> B. Emek Abali is still having a problem:
> thanks a lot for helping me through :)
>
> first,l commenting trilinos helped but introduced another one: http://pastebin.com/kqX5t1vT

Which one introduced you? It is a little hard to see from the output.
Did you change the suse11.platform file?

> second, if trilinos is commented, may I use the conjugated gradient iterative solver?

Yes, PETSC comes with one.

>
> I run first, as commented in opensuse platform
> # sudo zypper install -C lsb bzr subversion libxml2-devel gcc gcc-c++ \
> # openmpi-devel python-devel python-numpy python-numpy-devel swig \
> # wget boost-devel vtk-python liblapack3 libblas3 liblapack3 \
> # mpfr-devel suitesparse-common-devel gmp-devel cmake umfpack-devel \
> # libumfpack5 CGAL-devel scotch-devel libatlas3-devel flex

These instruction are tailored for newer opensuse version and might not
apply in your case since
1. some of the instruction are outdated, e.g when it comes to swig and
newer dolfin version,
2. The instructions require adding some additional repos, which do
probably do not package the needed software for your suse version.
But could you specify exactly the suse version in question?
(Try a
cat /etc/issue
in a terminal)
That helps to narrow down which packages are available and which one you
have to compile yourself.

>
> so actually no ctk or python-vtk is installed, just get, thus:
>
> ... # rpm -qa | grep vtk
> ... # rpm -qa | grep python
> python-doc-2.5.1-75.1
> python-kde3-3.16.0-124.1
> python-2.5.2-26.6
> python-xml-2.5.2-26.6
> gimp-plugins-python-2.4.5-41.2
> python-cairo-1.4.12-19.1
> libvirt-python-0.4.0-59.4
> dbus-1-python-0.82.4-49.1
> python-devel-2.5.2-26.6
> python-numeric-24.2-162.1
> python-compizconfig-0.7.4-28.1
> python-qt4-4.4.2-6.1
> python-opengl-2.0.1.09-224.1
> python-gobject2-2.14.1-15.1
> libxml2-python-2.6.32-14.1
> python-qscintilla-1.73-103.1
> python-tk-2.5.2-26.6
> python-gtk-2.12.1-18.1
> python-sip-4.7.6-5.1
> python-gtksourceview-2.2.0-15.1
> python-cairo-devel-1.4.12-19.1
> python-idle-2.5.2-26.6
> python-gobject2-devel-2.14.1-15.1
> python-qt-3.17.4-49.1
> python-gtk-devel-2.12.1-18.1
>

Then we have to add vtk as well, but first we should come as far as
possible with your current platform file.

Regarding your dorsal output: Have your checked whether parmetis
correctly installed, since the message

- --with-parmetis-dir=/root/Work/FEniCS did not work

did indicate that something went wrong.
Your should have a include/parmetis.h and a lib/libparmetis.a
file in the mentioned --with-parmetis-dir directory. And please check
the configure.log mentioned in the output to get an idea why petsc
failed. Your will find the log file in your petsc directory.

HTH
- --
Andre

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJOHWjTAAoJEA79ggnbq9dmNYcH/iWp+0ABX1CldQI56qa+mbjy
qYl7tIgJbu/Iz1ANPVLkf+Z3HRGivzc9KRDrNJ5TSDo58d0Y2prbw1PGOM46DQ4W
ahkwrXMZGmxcamJwRBiRkQeuyDV9T4rBjDWFRvS/gBe+8QI+5Rw7t5WJqsSgwUfZ
bwESTJDmGgRFJFlZA1GZqGymgEbj9CeyOAdbAg/ybZjMlY2xkzAff3hNBfwuSo8N
Gajvjc+LsmjcAqmpDfXyNIgpLwhRPv2S3W8cLAmWYVnZflvFsY2zr7X9Vqgx+m9d
ro14fA5Iutyc3zOlKvHpIfph9ML4B5q73bn5xsZAIprKd5ssbOgWKvfQPWA0/z8=
=bOAW
-----END PGP SIGNATURE-----

Revision history for this message
B. Emek Abali (bilenemek) said :
#10

hi, thanks for the reply,

 cat /etc/issue
Welcome to openSUSE 11.0 (X86-64) - Kernel \r (\l).

after commenting trilinos out in the suse11.3.platform it does not compile with errrors.

configure.log indicates that :
Possible ERROR while running linker: /root/Work/FEniCS/lib/libparmetis.a(initpart.o): In function `Mc_InitPartition_RB__':
initpart.c:(.text+0x7a7): undefined reference to `hpmp_int'
initpart.c:(.text+0x7be): undefined reference to `hpmp_sum'
initpart.c:(.text+0x8b1): undefined reference to `hpmp_max'
initpart.c:(.text+0x8da): undefined reference to `hpmp_min'
initpart.c:(.text+0x8e9): undefined reference to `hpmp_float'
initpart.c:(.text+0x987): undefined reference to `hpmp_minloc'
initpart.c:(.text+0x996): undefined reference to `hpmp_float_int'

many times and gets out with:

  File "./configure", line 257, in petsc_configure
    framework.configure(out = sys.stdout)
  File "/root/Work/FEniCS/src/petsc-3.1-p7/config/BuildSystem/config/framework.py", line 944, in configure
    child.configure()
  File "/root/Work/FEniCS/src/petsc-3.1-p7/config/BuildSystem/config/package.py", line 456, in configure
    self.executeTest(self.configureLibrary)
  File "/root/Work/FEniCS/src/petsc-3.1-p7/config/BuildSystem/config/base.py", line 97, in executeTest
    ret = apply(test, args,kargs)
  File "/root/Work/FEniCS/src/petsc-3.1-p7/config/BuildSystem/config/package.py", line 395, in configureLibrary
    for location, directory, lib, incl in self.generateGuesses():
  File "/root/Work/FEniCS/src/petsc-3.1-p7/config/BuildSystem/config/package.py", line 220, in generateGuesses
    raise RuntimeError('--with-'+self.package+'-dir='+self.framework.argDB['with-'+self.package+'-dir']+' did not work')

by the way
/root/Work/FEniCS contains the files include/parmetis.h and lib/libparmetis.a

Revision history for this message
Best Andre Massing (massing) said :
#11

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 07/13/2011 04:35 PM, B. Emek Abali wrote:
> Question #164054 on DOLFIN changed:
> https://answers.launchpad.net/dolfin/+question/164054
>
> Status: Answered => Open
>
> B. Emek Abali is still having a problem:
> hi, thanks for the reply,
>
> cat /etc/issue
> Welcome to openSUSE 11.0 (X86-64) - Kernel \r (\l).

Ok. Then the
FEniCS/platforms/deprecated/opensuse11.1.platform
file in your dorsal installation might be the best starting point (but
with the package list we used before) concerning the instructions, so
replace your platform file with that and comment out trilinos and add
swig as before.
The first thing is to check which of the mentioned additional repos also
exist for 11.0 (go to the sites and see whether a 11.0 is somewhere
lying around). Add existing ones via the zypper command.
Run the zypper install instruction and carefully follow which one are
missing.

>
> after commenting trilinos out in the suse11.3.platform it does not
> compile with errrors.
>
>
> configure.log indicates that :
> Possible ERROR while running linker: /root/Work/FEniCS/lib/libparmetis.a(initpart.o): In function `Mc_InitPartition_RB__':
> initpart.c:(.text+0x7a7): undefined reference to `hpmp_int'
> initpart.c:(.text+0x7be): undefined reference to `hpmp_sum'
> initpart.c:(.text+0x8b1): undefined reference to `hpmp_max'
> initpart.c:(.text+0x8da): undefined reference to `hpmp_min'
> initpart.c:(.text+0x8e9): undefined reference to `hpmp_float'
> initpart.c:(.text+0x987): undefined reference to `hpmp_minloc'
> initpart.c:(.text+0x996): undefined reference to `hpmp_float_int'

Actually I have no idea what is going on here, but short googling + that
you mentioned an mpi problem in the beginning of the thread + that
libparmetis is mentioned already up-to-date makes me guessing that
something might be wrong/mixed with your mpi version(s). Please make
sure that your are using *openmpi* and wipe out the already installed
and build folders and completely rebuild them. When changing compilers,
libs version etc. your system could get messed up since your do not
compile/link consistently.

- --
Andre

>
> many times and gets out with:
>
> File "./configure", line 257, in petsc_configure
> framework.configure(out = sys.stdout)
> File "/root/Work/FEniCS/src/petsc-3.1-p7/config/BuildSystem/config/framework.py", line 944, in configure
> child.configure()
> File "/root/Work/FEniCS/src/petsc-3.1-p7/config/BuildSystem/config/package.py", line 456, in configure
> self.executeTest(self.configureLibrary)
> File "/root/Work/FEniCS/src/petsc-3.1-p7/config/BuildSystem/config/base.py", line 97, in executeTest
> ret = apply(test, args,kargs)
> File "/root/Work/FEniCS/src/petsc-3.1-p7/config/BuildSystem/config/package.py", line 395, in configureLibrary
> for location, directory, lib, incl in self.generateGuesses():
> File "/root/Work/FEniCS/src/petsc-3.1-p7/config/BuildSystem/config/package.py", line 220, in generateGuesses
> raise RuntimeError('--with-'+self.package+'-dir='+self.framework.argDB['with-'+self.package+'-dir']+' did not work')
>
>
> by the way
> /root/Work/FEniCS contains the files include/parmetis.h and lib/libparmetis.a
>

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJOHb64AAoJEA79ggnbq9dm6K4IAKybFUSDu+efw+HXAw5c0kxZ
XnuuMWy9w1inyL83EnMWBH6qvEe/j98ZBmnxlWrsa2JuERVh53MKVimLFPiNdrJd
4wZui8559Lv42PjZRArvOY/Zo+VZq3XtRnFy97xee+CeadzcrL6F5XZyaTDLfzZB
AKA6UZzucr0hcf4mD88E1Pjwm1CIZEf5NPLXsFT18R3tvQk9Jik6DrBJoA293eqI
4eZhOe8QUBC9le4qHyEG+aK5Xx7cN3jgwMeqIhDx4zfnKOhQOJdiHDOiVooNMSMQ
U0DF6gP8fjHgpMiYOalAvcHR33SN0G4DYlwpJOGAJEi0VQ9ASOTLbxNk9yjb+fw=
=PNbR
-----END PGP SIGNATURE-----

Revision history for this message
Harish Narayanan (hnarayanan) said :
#12

It is not a good idea to install as root. Install it as a regular user.

More importantly, if you have root access you probably should upgrade the system to a more recent suse.

Harish

On Jul 13, 2011, at 4:35 PM, "B. Emek Abali" <email address hidden> wrote:

> Question #164054 on DOLFIN changed:
> https://answers.launchpad.net/dolfin/+question/164054
>
> Status: Answered => Open
>
> B. Emek Abali is still having a problem:
> hi, thanks for the reply,
>
> cat /etc/issue
> Welcome to openSUSE 11.0 (X86-64) - Kernel \r (\l).
>
> after commenting trilinos out in the suse11.3.platform it does not
> compile with errrors.
>
>
> configure.log indicates that :
> Possible ERROR while running linker: /root/Work/FEniCS/lib/libparmetis.a(initpart.o): In function `Mc_InitPartition_RB__':
> initpart.c:(.text+0x7a7): undefined reference to `hpmp_int'
> initpart.c:(.text+0x7be): undefined reference to `hpmp_sum'
> initpart.c:(.text+0x8b1): undefined reference to `hpmp_max'
> initpart.c:(.text+0x8da): undefined reference to `hpmp_min'
> initpart.c:(.text+0x8e9): undefined reference to `hpmp_float'
> initpart.c:(.text+0x987): undefined reference to `hpmp_minloc'
> initpart.c:(.text+0x996): undefined reference to `hpmp_float_int'
>
> many times and gets out with:
>
> File "./configure", line 257, in petsc_configure
> framework.configure(out = sys.stdout)
> File "/root/Work/FEniCS/src/petsc-3.1-p7/config/BuildSystem/config/framework.py", line 944, in configure
> child.configure()
> File "/root/Work/FEniCS/src/petsc-3.1-p7/config/BuildSystem/config/package.py", line 456, in configure
> self.executeTest(self.configureLibrary)
> File "/root/Work/FEniCS/src/petsc-3.1-p7/config/BuildSystem/config/base.py", line 97, in executeTest
> ret = apply(test, args,kargs)
> File "/root/Work/FEniCS/src/petsc-3.1-p7/config/BuildSystem/config/package.py", line 395, in configureLibrary
> for location, directory, lib, incl in self.generateGuesses():
> File "/root/Work/FEniCS/src/petsc-3.1-p7/config/BuildSystem/config/package.py", line 220, in generateGuesses
> raise RuntimeError('--with-'+self.package+'-dir='+self.framework.argDB['with-'+self.package+'-dir']+' did not work')
>
>
> by the way
> /root/Work/FEniCS contains the files include/parmetis.h and lib/libparmetis.a
>
> --
> You received this question notification because you are a member of
> DOLFIN Team, which is an answer contact for DOLFIN.

Revision history for this message
B. Emek Abali (bilenemek) said :
#13

hi Harish, thanks for the suggestions, recent suse does not boot from xfs file system, which we cannot change, therefore the system will not be upgraded.

Is installing w/o root permissions the more appropriate way?

Revision history for this message
Harish Narayanan (hnarayanan) said :
#14

On 7/14/11 10:55 AM, B. Emek Abali wrote:
> Question #164054 on DOLFIN changed:
> https://answers.launchpad.net/dolfin/+question/164054
>
> B. Emek Abali posted a new comment:
> hi Harish, thanks for the suggestions, recent suse does not boot from
> xfs file system, which we cannot change, therefore the system will not
> be upgraded.
>
> Is installing w/o root permissions the more appropriate way?
>

In general, yes. This is only so that you (or dorsal) does not
accidentally mess anything up in the rest of the system.

Harish

Revision history for this message
B. Emek Abali (bilenemek) said :
#15

Thanks Andre Massing, that solved my question.