Commit 6164710c3d127f332ae084278e931cb89fea8bf7
1 parent
af246bca40
Exists in
master
and in
3 other branches
ChW returned Makefiles to original William versions, no more "sophia" version
SunStudio project now defined as "Makefile" type Make command being : export BTREE="$$(pwd)/.." && make -f Makefile && make -f Makefile install git-svn-id: https://lxsd.femto-st.fr/svn/fvn@54 b657c933-2333-4658-acf2-d3c7c2708721
Showing 9 changed files with 1 additions and 73 deletions Side-by-side Diff
Makefile
1 | 1 | |
2 | -include $(BTREE)/Make.inc #définir dans Make.inc une variable sophia, et prévoir F95FLAGS ad hoc pour compil et modules | |
2 | +include $(BTREE)/Make.inc | |
3 | 3 | |
4 | 4 | |
5 | -ifdef SOPHIA | |
6 | -objects = fvnlib_sophia.o | |
7 | -else | |
8 | 5 | objects = fvnlib.o |
9 | -endif | |
10 | 6 | modobjects = $(objects) |
11 | 7 | |
12 | 8 | library = libfvn$(libext) |
13 | 9 | |
14 | 10 | |
... | ... | @@ -18,27 +14,9 @@ |
18 | 14 | ( cd fvn_linear && make && make install ) |
19 | 15 | ( cd fvn_integ && make && make install ) |
20 | 16 | ( cd fvn_interpol && make && make install ) |
21 | -ifndef SOPHIA | |
22 | 17 | ( cd fvn_sparse && make && make install ) |
23 | -endif | |
24 | 18 | ( cd fvn_fnlib && make && make install ) |
25 | 19 | ( cd fvn_misc && make && make install ) |
26 | - | |
27 | -submodules: | |
28 | -#builds only modules local to fvn: go to sub-project, build sub-project modules, transfer them back here | |
29 | -#if sub-project depend on another, it is built after, and its proper make searches modules here, not in the install tree | |
30 | - ( cd fvn_common && make modules && mv *.mod .. ) | |
31 | - ( cd fvn_linear && make modules F95FLAGS="$(F95FLAGS) -M.." && mv *.mod .. ) | |
32 | - ( cd fvn_integ && make modules F95FLAGS="$(F95FLAGS) -M.." && mv *.mod .. ) | |
33 | - ( cd fvn_interpol && make modules F95FLAGS="$(F95FLAGS) -M.." && mv *.mod .. ) | |
34 | -ifndef SOPHIA | |
35 | - ( cd fvn_sparse && make modules F95FLAGS="$(F95FLAGS) -M.." && mv *.mod .. ) | |
36 | -endif | |
37 | - ( cd fvn_fnlib && make modules F95FLAGS="$(F95FLAGS) -M.." && mv *.mod .. ) | |
38 | - ( cd fvn_misc && make modules F95FLAGS="$(F95FLAGS) -M.." && mv *.mod .. ) | |
39 | - | |
40 | -modules: submodules $(modobjects) | |
41 | - rm -f $(modobjects) | |
42 | 20 | |
43 | 21 | clean: |
44 | 22 | rm -f {*.o,*.oo,*.ipo,*.a,*.mod} |
fvn_common/Makefile
fvn_fnlib/Makefile
fvn_integ/Makefile
fvn_interpol/Makefile
fvn_linear/Makefile
fvn_misc/Makefile
fvn_sparse/Makefile
... | ... | @@ -2,15 +2,11 @@ |
2 | 2 | include $(BTREE)/Make.inc |
3 | 3 | |
4 | 4 | objects = fvn_sparse.o umfpack_wrapper.o |
5 | -modobjects = fvn_sparse.o | |
6 | 5 | |
7 | 6 | all: suitesparse $(objects) |
8 | 7 | |
9 | 8 | suitesparse: |
10 | 9 | ( cd UMFPACK && make ) |
11 | - | |
12 | -modules: $(modobjects) | |
13 | - rm -f $(modobjects) | |
14 | 10 | |
15 | 11 | clean: |
16 | 12 | ( cd AMD && make clean ) |
fvnlib_sophia.f90
1 | - | |
2 | -module fvn | |
3 | -!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | |
4 | -! | |
5 | -! fvn : a f95 module replacement for some imsl routines | |
6 | -! it uses lapack for linear algebra | |
7 | -! it uses modified quadpack for integration | |
8 | -! | |
9 | -! William Daniau 2007->today | |
10 | -! william.daniau@femto-st.fr | |
11 | -! | |
12 | -!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | |
13 | -use fvn_common | |
14 | -use fvn_linear | |
15 | -use fvn_integ | |
16 | -use fvn_interpol | |
17 | -!use fvn_sparse !ChW : not used in Sophia for the moment | |
18 | -use fvn_fnlib | |
19 | -use fvn_misc | |
20 | -end module fvn |