Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
PySWIFTsim
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Container registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
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
SWIFT
PySWIFTsim
Merge requests
!7
Change clone to fetch
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Change clone to fetch
new_implementation
into
master
Overview
0
Commits
21
Changes
1
Merged
Loic Hausammann
requested to merge
new_implementation
into
master
6 years ago
Overview
0
Commits
21
Changes
1
Expand
0
0
Merge request reports
Viewing commit
ea22ec39
Prev
Next
Show latest version
1 file
+
17
−
4
Side-by-side
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
ea22ec39
CI
· ea22ec39
Loic Hausammann
authored
6 years ago
.gitlab-ci.yml
+
17
−
4
Options
before_script
:
before_script
:
# compile swift
-
apt-get update -qq && apt-get install -y -qq build-essential libhdf5-serial-dev gfortran
-
apt-get update -qq && apt-get install -y -qq hdf5-tools
-
export LHOME=`pwd`
-
locate h5cc
# Compile grackle
-
mkdir grackle
-
git clone https://github.com/grackle-project/grackle.git
-
cd grackle
-
./configure
-
cd src/clib
-
sed -i 's/LOCAL_HDF5_INSTALL = \/usr\/local\/hdf5\/1.8.2s/LOCAL_HDF5_INSTALL = \/usr\/lib\/x86_64-linux-gnu\/hdf5\/serial\/lib/' Make.mach.linux-gnu
-
sed -i 's/MACH_INSTALL_PREFIX = $(HOME)\/local/MACH_INSTALL_PREFIX = $(LHOME)\/grackle/' Make.mach.linux-gnu
-
make machine-linux-gnu
-
make && make install
-
export GRACKLE_ROOT=$LHOME/grackle
-
cd $LHOME
# compile swift
-
git clone https://gitlab.cosma.dur.ac.uk/swift/swiftsim.git --single-branch --branch master
-
git clone https://gitlab.cosma.dur.ac.uk/swift/swiftsim.git --single-branch --branch master
-
cd swiftsim
-
cd swiftsim
-
./autogen.sh
-
./autogen.sh
-
./configure --with-subgrid=GEAR
-
./configure --with-subgrid=GEAR
--with-grackle=$GRACKLE_ROOT
-
make -j
4
-
make -j
4
test_build
:
test_build
:
Loading