I'd like to support the idea of having a libnetcdf-openmpi-dev package,
too. Having it would be a grate relief.

Well, I tried to build it my own, however, with no success. 
Maybe someone could help me out with this?

The following is what I did:
1. Sources and build dependencies 
 > apt-get source libnetcdf-dev
 > sudo apt-get build-dep libnetcdf-dev
2. Replace libhdf5-dev (serial) by libhdf5-openmpi-dev
 > sudo apt-get install libhdf5-openmpi-dev
3. Changing build dependencies in debian/control 
 line 6: libhdf5-dev -> libhdf5-openmpi-dev
4. Modify /debian/rules   
 line 14: --enable-parallel-tests 
 line 15: mpif90
 line 16: mpic++
 line 17: mpicc
5. Rebuild package 
 > dpkg-buildpackage -us -uc

This however does not work. The build-process terminates with some error 
messages due to that reason:
> libtool: link: mpif90 -shared   ....  -L/usr/lib/openmpi/lib -l 
> -L/usr/lib/gcc/x86_64-linux-gnu/4.7  ....
Sure, -l directly followed by -L wont work ... 

Does anyone have an idea what is going wrong here?

Cheers, 
Stefan

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1041742

Title:
  netcdf build against parallel HDF5

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/netcdf/+bug/1041742/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to