Last change
on this file since 2051 was
2051,
checked in by jack, 19 years ago
|
Python interface to metis. Currently provides only the
METIS_PartMeshNodal function, since that is what is currently needed for partitioning.
Module name is metis.
|
File size:
405 bytes
|
Rev | Line | |
---|
[2051] | 1 | ### |
---|
| 2 | # PyMetis Makefile |
---|
| 3 | # |
---|
| 4 | |
---|
| 5 | ### |
---|
| 6 | # Config |
---|
| 7 | # |
---|
| 8 | |
---|
| 9 | METIS_DIR = metis-4.0 |
---|
| 10 | |
---|
| 11 | ### |
---|
| 12 | # Build |
---|
| 13 | # |
---|
| 14 | |
---|
| 15 | pymetis: metis pymetis_module |
---|
| 16 | |
---|
| 17 | metis: |
---|
| 18 | make -C $(METIS_DIR) |
---|
| 19 | |
---|
| 20 | pymetis_module: |
---|
| 21 | (cd pymetis; METIS_DIR=$(METIS_DIR) python setup.py build; ./get_module) |
---|
| 22 | |
---|
| 23 | ### |
---|
| 24 | # Clean |
---|
| 25 | # |
---|
| 26 | |
---|
| 27 | clean: |
---|
| 28 | make -C $(METIS_DIR) clean |
---|
| 29 | -(cd pymetis; rm -rf build) |
---|
| 30 | -(cd pymetis; rm *~) |
---|
| 31 | -rm *~ |
---|
| 32 | |
---|
| 33 | realclean: clean |
---|
| 34 | make -C $(METIS_DIR) realclean |
---|
| 35 | -rm metis.so |
---|
Note: See
TracBrowser
for help on using the repository browser.