Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F93425960
Makefile
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Thu, Nov 28, 16:17
Size
569 B
Mime Type
text/x-makefile
Expires
Sat, Nov 30, 16:17 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
22632743
Attached To
R1448 Lenstool-HPC
Makefile
View Options
#
# author: gilles.fourestey@epfl.ch
#
SHELL:=/bin/bash
arch = intel
prec = double
#all: precision compile
all: compile
#precision:
# echo "PRECISION := -D_double" > precision.inc
# if [ "$(prec)" == "single" ]; then \
# echo "PRECISION := -D_single" > precision.inc; \
# fi
#fi
compile:
#@make -f Makefile.$(arch)
if which nvcc > /dev/null; then \
echo "nvcc detected, compiling the GPU lib"; \
make --silent -f Makefile.GPU.$(arch); \
else \
echo "no nvcc compiler detected"; \
fi
clean:
make -f Makefile.GPU.$(arch) clean
Event Timeline
Log In to Comment