Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ift
vlbi_resolve
Commits
0c72667b
Commit
0c72667b
authored
Sep 10, 2021
by
Philipp Arras
Browse files
Tweak Makefile
parent
65717238
Pipeline
#109587
passed with stages
in 14 minutes and 22 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Makefile
View file @
0c72667b
pre
:=
MPLBACKEND
=
agg
MKL_NUM_THREADS
=
1
OMP_NUM_THREADS
=
1
.PHONY
:
m87 blobs disk crescent ehtcrescent ehtdisk sim1 sim2
# Compute starting position for movie
initial.h5
:
pre
:=
MPLBACKEND
=
agg
MKL_NUM_THREADS
=
1
OMP_NUM_THREADS
=
1
ifdef
VLBI_MPI_TASKS
$(pre)
mpirun
-np
$(VLBI_MPI_TASKS)
python3
movie_start.py
python
=
$(pre)
mpirun
-np
$(VLBI_MPI_TASKS)
python3
else
$(pre)
python3
movie_start.py
python
=
$(pre)
python3
endif
# Movie reconstruction
initial.h5
:
$(python)
movie_start.py
m87
:
initial.h5
ifdef
VLBI_MPI_TASKS
$(pre)
mpirun
-np
$(VLBI_MPI_TASKS)
python3 reconstruction.py m87 initial.h5
else
$(pre)
python3 reconstruction.py m87 initial.h5
endif
$(python)
reconstruction.py m87 initial.h5
blobs
:
initial.h5
ifdef
VLBI_MPI_TASKS
$(pre)
mpirun
-np
$(VLBI_MPI_TASKS)
python3 reconstruction.py blobs initial.h5
else
$(pre)
python3 reconstruction.py blobs initial.h5
endif
$(python)
reconstruction.py blobs initial.h5
disk
:
initial.h5
ifdef
VLBI_MPI_TASKS
$(pre)
mpirun
-np
$(VLBI_MPI_TASKS)
python3 reconstruction.py disk initial.h5
else
$(pre)
python3 reconstruction.py disk initial.h5
endif
$(python)
reconstruction.py disk initial.h5
crescent
:
initial.h5
ifdef
VLBI_MPI_TASKS
$(pre)
mpirun
-np
$(VLBI_MPI_TASKS)
python3 reconstruction.py crescent initial.h5
else
$(pre)
python3 reconstruction.py crescent initial.h5
endif
$(python)
reconstruction.py crescent initial.h5
ehtcrescent
:
initial.h5
ifdef
VLBI_MPI_TASKS
$(pre)
mpirun
-np
$(VLBI_MPI_TASKS)
python3 reconstruction.py ehtcrescent initial.h5
else
$(pre)
python3 reconstruction.py ehtcrescent initial.h5
endif
$(python)
reconstruction.py ehtcrescent initial.h5
ehtdisk
:
initial.h5
ifdef
VLBI_MPI_TASKS
$(pre)
mpirun
-np
$(VLBI_MPI_TASKS)
python3 reconstruction.py ehtdisk initial.h5
else
$(pre)
python3 reconstruction.py ehtdisk initial.h5
endif
$(python)
reconstruction.py ehtdisk initial.h5
sim1
:
initial.h5
ifdef
VLBI_MPI_TASKS
$(pre)
mpirun
-np
$(VLBI_MPI_TASKS)
python3 reconstruction.py sim1 initial.h5
else
$(pre)
python3 reconstruction.py sim1 initial.h5
endif
sim2
:
initial.h5
ifdef
VLBI_MPI_TASKS
$(pre)
mpirun
-np
$(VLBI_MPI_TASKS)
python3 reconstruction.py sim2 initial.h5
else
$(pre)
python3 reconstruction.py sim2 initial.h5
endif
$(python)
reconstruction.py sim1 initial.h5
sim2
:
initial.h5
$(python)
reconstruction.py sim2 initial.h5
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment