Skip to content
This repository has been archived by the owner on Apr 23, 2021. It is now read-only.

Commit

Permalink
Add missing parts.
Browse files Browse the repository at this point in the history
  • Loading branch information
Mehdi Sadeghi committed Aug 31, 2016
1 parent 0f86606 commit a3ba550
Show file tree
Hide file tree
Showing 8 changed files with 6 additions and 7 deletions.
File renamed without changes.
File renamed without changes.
13 changes: 6 additions & 7 deletions install_external.sh
Expand Up @@ -10,18 +10,17 @@ PYTHON_LIB_DIR=${PYTHON_LIB_DIR:-$VIRTUAL_ENV/lib/python2.7/site-packages/}
echo "Checking out the most recent release of liggghts - 3.4.0 from 17 May 2016"
git clone --branch 3.4.0 --depth 1 git://github.com/CFDEMproject/LIGGGHTS-PUBLIC.git myliggghts

echo "Building LIGGGHTS executable"
pushd myliggghts/src

pushd myliggghts
# Apply our patch to rename namespaces and lammps references with liggghts ones
git apply ../../liggghts.patch
git apply ../liggghts.patch
echo "Patched liggghts source code"
popd

echo "Building LIGGGHTS executable"
pushd myliggghts/src
make -j 2 fedora
ln -s lgt_fedora liggghts
popd

pushd myliggghts/src
echo "Making shared library for LIGGGHTS python wrapper"
make makeshlib
make -j 2 -f Makefile.shlib fedora_fpic
Expand All @@ -32,6 +31,6 @@ echo "Installing LIGGGHTS python wrapper"
pushd myliggghts/python
# The install script expects `liggghts.py` name.
cp lammps.py liggghts.py
python install.py $PYTHON_LIB_DIR
python install.py $PYTHON_LIB_DIR $PYTHON_LIB_DIR
popd
python check_liggghts_python.py
Empty file added simliggghts/common/__init__.py
Empty file.
Empty file added simliggghts/config/__init__.py
Empty file.
Empty file.
Empty file added simliggghts/io/__init__.py
Empty file.
Empty file added simliggghts/testing/__init__.py
Empty file.

0 comments on commit a3ba550

Please sign in to comment.