Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
ProMod3
Manage
Activity
Members
Plan
Jira
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container registry
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
schwede
ProMod3
Commits
f039ed8f
"README.md" did not exist on "6e62d68de236e1704edf41921e0033250d90a9b0"
Commit
f039ed8f
authored
7 years ago
by
Gerardo Tauriello
Browse files
Options
Downloads
Patches
Plain Diff
SCHWED-2560
: updated dependencies to OST 1.7
parent
27b5f0ac
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
CMakeLists.txt
+1
-1
1 addition, 1 deletion
CMakeLists.txt
conf-scripts/bc2-conf
+7
-32
7 additions, 32 deletions
conf-scripts/bc2-conf
doc/buildsystem.rst
+3
-3
3 additions, 3 deletions
doc/buildsystem.rst
with
11 additions
and
36 deletions
CMakeLists.txt
+
1
−
1
View file @
f039ed8f
...
@@ -86,7 +86,7 @@ if(NOT DISABLE_DOCUMENTATION)
...
@@ -86,7 +86,7 @@ if(NOT DISABLE_DOCUMENTATION)
# set this to the URL corresponding to the version of OST you are using
# set this to the URL corresponding to the version of OST you are using
set
(
OST_DOC_URL
"http://www.openstructure.org/docs/dev"
)
set
(
OST_DOC_URL
"http://www.openstructure.org/docs/dev"
)
endif
()
endif
()
find_package
(
OPENSTRUCTURE 1.
6
REQUIRED
find_package
(
OPENSTRUCTURE 1.
7
REQUIRED
COMPONENTS io mol seq seq_alg mol_alg conop img mol_mm
)
COMPONENTS io mol seq seq_alg mol_alg conop img mol_mm
)
if
(
CMAKE_COMPILER_IS_GNUCXX
)
if
(
CMAKE_COMPILER_IS_GNUCXX
)
...
...
This diff is collapsed.
Click to expand it.
conf-scripts/bc2-conf
+
7
−
32
View file @
f039ed8f
...
@@ -4,15 +4,6 @@
...
@@ -4,15 +4,6 @@
# build directory. Does not work from top-level dir.
# build directory. Does not work from top-level dir.
# Meant to work on bc2 cluster (and probably nowhere else)!
# Meant to work on bc2 cluster (and probably nowhere else)!
function
usage_centos5
{
echo
'usage:'
echo
' bc2-conf <OST_ROOT> <EIGEN3_INCLUDE_DIR> [OPTIONS]'
echo
' OST_ROOT is the staging directory of OST.'
echo
' Valid options are anything that CMake accepts.'
exit
1
}
function
usage_centos6
function
usage_centos6
{
{
echo
'usage:'
echo
'usage:'
...
@@ -50,15 +41,16 @@ if test "$CENTOS_MAJOR" == "6"; then
...
@@ -50,15 +41,16 @@ if test "$CENTOS_MAJOR" == "6"; then
fi
fi
done
done
else
else
module load OpenStructure/1.5.0-goolf-1.4.10
# TODO
# module load OpenStructure/1.6.0-goolf-1.4.10_20161111
echo
'No OST 1.7 module available yet!'
fi
fi
# load required modules
# load required modules
module load git/1.8.5.6-goolf-1.4.10
\
module load git/1.8.5.6-goolf-1.4.10
\
CMake/2.8.12-goolf-1.4.10
\
CMake/2.8.12-goolf-1.4.10
\
Python/2.7.5-goolf-1.4.10
\
Python/2.7.5-goolf-1.4.10
\
OpenBLAS/0.2.6-gompi-1.4.10-LAPACK-3.4.2
\
Eigen/3.3.1
\
Eigen/3.2.1-goolf-1.4.10
\
Boost/1.53.0-goolf-1.4.10-Python-2.7.5
Boost/1.53.0-goolf-1.4.10-Python-2.7.5
# run cmake
# run cmake
cmake
$PROMOD3_SRC
\
cmake
$PROMOD3_SRC
\
...
@@ -66,29 +58,12 @@ if test "$CENTOS_MAJOR" == "6"; then
...
@@ -66,29 +58,12 @@ if test "$CENTOS_MAJOR" == "6"; then
-DPYTHON_ROOT
=
$EBROOTPYTHON
\
-DPYTHON_ROOT
=
$EBROOTPYTHON
\
-DEIGEN3_INCLUDE_DIR
=
"
${
EBROOTEIGEN
}
/include"
\
-DEIGEN3_INCLUDE_DIR
=
"
${
EBROOTEIGEN
}
/include"
\
-DBOOST_ROOT
=
$EBROOTBOOST
\
-DBOOST_ROOT
=
$EBROOTBOOST
\
-DBLAS_blas_LIBRARY
=
${
EBROOTOPENBLAS
}
/lib/libopenblas.so
\
-DDISABLE_DOCUMENTATION
=
ON
\
-DDISABLE_DOCUMENTATION
=
ON
\
-DOPTIMIZE
=
1
\
-DOPTIMIZE
=
1
-DENABLE_SSE
=
1
\
$cmd_params
$cmd_params
else
else
# configuration for old BC2
echo
'Only the CentOS 6 version of bc2 is supported'
if
test
"
$NUM_PARAMS
"
-lt
"2"
;
then
# TODO: update for CentOS 7
echo
'You must specify the locations of OST and Eigen3 (in'
\
'that order).'
;
usage_centos5
fi
OST_ROOT
=
$(
cd
$1
;
pwd
)
shift
EIGEN3_INCLUDE_DIR
=
$(
cd
$1
;
pwd
)
shift
/import/bc2/soft/app/cmake/2.8.7/Linux/bin/cmake
$PROMOD3_SRC
\
-DOST_ROOT
=
$OST_ROOT
\
-DEIGEN3_INCLUDE_DIR
=
$EIGEN3_INCLUDE_DIR
\
-DBOOST_ROOT
=
/import/bc2/soft/app/boost/1.47.0/Linux/
\
-DPYTHON_ROOT
=
/import/bc2/soft/app/Python/2.7.5/Linux
\
$@
fi
fi
...
...
This diff is collapsed.
Click to expand it.
doc/buildsystem.rst
+
3
−
3
View file @
f039ed8f
...
@@ -8,7 +8,7 @@ Dependencies
...
@@ -8,7 +8,7 @@ Dependencies
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
|project| is build on top of |ost_l|_ (|ost_s|), requiring at least version
|project| is build on top of |ost_l|_ (|ost_s|), requiring at least version
1.
5
. |ost_s| must be configured and compiled with ``ENABLE_MM=1`` to use |openmm|_.
1.
7
. |ost_s| must be configured and compiled with ``ENABLE_MM=1`` to use |openmm|_.
To create the build system, |cmake|_ is required in version
To create the build system, |cmake|_ is required in version
2.8.7 or higher. |python|_ works well from version 2.7. For |ost_s| and the
2.8.7 or higher. |python|_ works well from version 2.7. For |ost_s| and the
|C++| bit of |project|, |boost|_ is required in version 1.53.0 (the same as
|C++| bit of |project|, |boost|_ is required in version 1.53.0 (the same as
...
@@ -18,8 +18,8 @@ documentation, |sphinx|_ 1.2b1 is required.
...
@@ -18,8 +18,8 @@ documentation, |sphinx|_ 1.2b1 is required.
The currently preferred versions are:
The currently preferred versions are:
* |ost_s|_ 1.
5
* |ost_s|_ 1.
7
* |openmm|_
6
.1
* |openmm|_
7.1
.1
* |cmake|_ 2.8.12
* |cmake|_ 2.8.12
* |python|_ 2.7.5
* |python|_ 2.7.5
* |boost|_ 1.53.0
* |boost|_ 1.53.0
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment