Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Contrib arpack ng #481

Merged
merged 4 commits into from
Nov 11, 2013
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
--- configure.orig 2013-10-24 15:26:59.994151181 +0300
+++ configure 2013-10-24 15:29:31.293151084 +0300
@@ -8433,7 +8433,7 @@
;;
# icc used to be incompatible with GCC.
# ICC 10 doesn't accept -KPIC any more.
- icc* | ifort*)
+ icc* | ifort* | mpif77*)
lt_prog_compiler_wl='-Wl,'
lt_prog_compiler_pic='-fPIC'
lt_prog_compiler_static='-static'
@@ -12052,7 +12052,7 @@
;;
# icc used to be incompatible with GCC.
# ICC 10 doesn't accept -KPIC any more.
- icc* | ifort*)
+ icc* | ifort* | mpif77*)
lt_prog_compiler_wl_F77='-Wl,'
lt_prog_compiler_pic_F77='-fPIC'
lt_prog_compiler_static_F77='-static'
22 changes: 22 additions & 0 deletions easybuild/easyconfigs/a/arpack-ng/arpack-ng-3.1.3-ictce-5.3.0.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name = 'arpack-ng'
version = '3.1.3'

homepage = 'http://forge.scilab.org/index.php/p/arpack-ng/'
description = """ARPACK is a collection of Fortran77 subroutines designed to solve large scale eigenvalue problems."""

toolchain = {'name': 'ictce', 'version': '5.3.0'}
toolchainopts = {'opt': True, 'optarch': True, 'pic': True, 'usempi': True}

source_urls = ['http://forge.scilab.org/index.php/p/arpack-ng/downloads/get/']
sources = [SOURCELOWER_TAR_GZ]

patches = ['arpack-ng-3.1.3-configure-mpi.patch']

configopts = '--enable-mpi --with-pic --with-blas="$LIBBLAS" --with-lapack="$LIBLAPACK"'

sanity_check_paths = {
'files': ["lib/libarpack.a", "lib/libarpack.so", "lib/libparpack.a", "lib/libarpack.a"],
'dirs': []
}

moduleclass = 'numlib'