Skip to content
Snippets Groups Projects
Commit c0bcecac authored by Abhinav Singh's avatar Abhinav Singh
Browse files

Merge remote-tracking branch 'gitlab/master'

# Conflicts:
#	install
#	openfpm_numerics
parents a00d54dd 305fc011
No related branches found
No related tags found
No related merge requests found
Pipeline #5435 failed
SUBDIRS := $(wildcard */.)
all clean run: $(SUBDIRS)
$(SUBDIRS):
$(MAKE) -C $@ $(MAKECMDGOALS)
.PHONY: all clean $(SUBDIRS)
include example.mk
CC=mpic++
LDIR =
OBJ = Bump.o
%.o: %.cpp
$(CC) -O3 -c --std=c++11 -o $@ $< $(INCLUDE_PATH)
Bump: $(OBJ)
$(CC) -o $@ $^ $(CFLAGS) $(LIBS_PATH) $(LIBS)
all: Bump
run: all
mpirun -np 4 /Bump
.PHONY: clean all run
clean:
rm -f *.o *~ core Bump
SUBDIRS := $(wildcard */.)
all clean run: $(SUBDIRS)
$(SUBDIRS):
$(MAKE) -C $@ $(MAKECMDGOALS)
.PHONY: all clean $(SUBDIRS)
#! /bin/bash #!/bin/bash
short_date=$(/bin/date +%m%d%y)
exec 2>>"install$short_date.log"
set -x
source script/help source script/help
source script/discover_os source script/discover_os
......
Subproject commit 94125e792a7edc2d3927453d6563a66342ed5ebc Subproject commit c1c3e0c4e8586bf5061dbabbfa48dd0c2dc86960
...@@ -11,30 +11,30 @@ if [ -d "$1/HDF5" -a -f "$1/HDF5/include/hdf5.h" ]; then ...@@ -11,30 +11,30 @@ if [ -d "$1/HDF5" -a -f "$1/HDF5/include/hdf5.h" ]; then
exit 0 exit 0
fi fi
#if [ ! -d "$1/ZLIB" -a x"$platform" != x"cygwin" ]; then if [ ! -d "$1/ZLIB" -a x"$platform" != x"cygwin" ]; then
# rm zlib-1.2.12.tar.gz rm zlib-1.2.11.tar.gz
# rm -rf zlib-1.2.12 rm -rf zlib-1.2.11
# wget http://zlib.net/zlib-1.2.12.tar.gz wget https://zlib.net/fossils/zlib-1.2.11.tar.gz
# if [ $? -ne 0 ]; then if [ $? -ne 0 ]; then
# echo -e "\033[91;5;1m FAILED! Installation requires an Internet connection \033[0m" echo -e "\033[91;5;1m FAILED! Installation requires an Internet connection \033[0m"
# exit 1 exit 1
# fi fi
# tar -xf zlib-1.2.12.tar.gz tar -xf zlib-1.2.11.tar.gz
# cd zlib-1.2.12 cd zlib-1.2.11
# CC=mpicc CFLAGS=-fPIC ./configure --prefix=$1/ZLIB CC=mpicc CFLAGS=-fPIC ./configure --prefix=$1/ZLIB
# make -j $2 make -j $2
# if [ $? -eq 0 ]; then if [ $? -eq 0 ]; then
# make check install make check install
# else else
# echo -e "\033[91;5;1m ZLIB Installation FAILED \033[0m" echo -e "\033[91;5;1m ZLIB Installation FAILED \033[0m"
# exit 1 exit 1
# fi fi
# cd .. cd ..
#else else
# echo "ZLIB is already installed" echo "ZLIB is already installed"
#fi fi
### 1.8.19 does not compile on CYGWIN ### 1.8.19 does not compile on CYGWIN
...@@ -44,7 +44,7 @@ cd hdf5-1.10.8 ...@@ -44,7 +44,7 @@ cd hdf5-1.10.8
# Disable zlib is completly unstable # Disable zlib is completly unstable
if [ x"$platform" != x"cygwin" ]; then if [ x"$platform" != x"cygwin" ]; then
CC=mpicc ./configure --enable-parallel --prefix=$1/HDF5 CC=mpicc ./configure --with-zlib=$1/ZLIB --enable-parallel --prefix=$1/HDF5
make -j $2 make -j $2
else else
CC=mpicc ./configure --enable-parallel --prefix=$1/HDF5 CC=mpicc ./configure --enable-parallel --prefix=$1/HDF5
......
...@@ -33,7 +33,7 @@ function haveProg() { ...@@ -33,7 +33,7 @@ function haveProg() {
if haveProg python2; then if haveProg python2; then
python_command=python2 python_command=python2
else else
python_command=python python_command=python3
fi fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment