Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
H
Hamburg LOFAR Toolkit Installation Script
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
hpc
Hamburg LOFAR Toolkit Installation Script
Commits
ab886edd
Commit
ab886edd
authored
5 years ago
by
Orgis, Dr. Thomas
Browse files
Options
Downloads
Patches
Plain Diff
lsmtool und Beginn ohne LDFLAGS
parent
7de41374
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
build_lofar_cepH.sh
+20
-9
20 additions, 9 deletions
build_lofar_cepH.sh
with
20 additions
and
9 deletions
build_lofar_cepH.sh
+
20
−
9
View file @
ab886edd
...
...
@@ -34,7 +34,7 @@ export CXXFLAGS="-D_GLIB_USE_CXX_ABI=1 -DBOOST_NO_CXX11_SCOPED_ENUMS -march=nati
# Trying to ensure openblas_openmp here, but that needs to be fixed
# in the packages, recognizing that a dependency is already using
# openblas and then not trying to use a different one:-/
export
LDFLAGS
=
"-lgsl -lcblas -lopenblas_openmp -Wl,--as-needed"
#
export LDFLAGS="-lgsl -lcblas -lopenblas_openmp -Wl,--as-needed"
# Ensure that we know what include search path variable is really used.
# Only leave CPATH set.
...
...
@@ -490,20 +490,31 @@ else
echo
pyBDSF already installed.
fi
||
exit
1
exit
# Did not get to lsmtool yet.
if
[
!
-d
$INSTALLDIR
/lsmtool
]
;
then
prefix
=
$INSTALLDIR
/lsmtool
&&
lsmlib
=
$prefix
/lib/python
$PYTHON_VERSION
/site-packages
&&
export
PYTHONPATH
=
$lsmlib
:
$PYTHONPATH
&&
if
[
!
-e
$prefix
/.done
]
;
then
echo
Installing LSMTool.
#
# Install LSMTool.
#
mkdir
-p
$INSTALLDIR
/lsmtool/lib/python
$PYTHON_VERSION
/site-packages
export
PYTHONPATH
=
$INSTALLDIR
/lsmtool/lib/python
$PYTHON_VERSION
/site-packages:
$PYTHONPATH
cd
$INSTALLDIR
/lsmtool
&&
git clone https://github.com/darafferty/LSMTool.git lsmtool
cd
$INSTALLDIR
/lsmtool/lsmtool
&&
python setup.py
install
--prefix
=
$INSTALLDIR
/lsmtool
mkdir
-p
$prefix
&&
cd
$prefix
&&
rm
-rf
build bin lib presrc
&&
if
test
-e
src
;
then
echo
"Using existing sources."
else
git clone https://github.com/darafferty/LSMTool.git presrc
&&
mv
presrc src
fi
&&
mkdir
-p
$lsmlib
&&
cd
src
&&
python setup.py
install
--prefix
=
$prefix
&&
echo
"Done with LSMTool."
&&
touch
$prefix
/.done
else
echo
LSMTool already installed.
fi
fi
||
exit
1
###############################
# Finish up the installation. #
...
...
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