Skip to content

Commit

Permalink
net: port to new build system
Browse files Browse the repository at this point in the history
  • Loading branch information
warrickball authored and VincentVanlaer committed Dec 29, 2024
1 parent 3be80d1 commit 15f3597
Show file tree
Hide file tree
Showing 22 changed files with 34 additions and 301 deletions.
2 changes: 0 additions & 2 deletions install
Original file line number Diff line number Diff line change
Expand Up @@ -335,8 +335,6 @@ function do_input_data {
cd ..
}

do_one_parallel net

if [ ! -r data/ionization_data ]
then
do_input_data ionization
Expand Down
2 changes: 1 addition & 1 deletion make/subdirs.mk
Original file line number Diff line number Diff line change
@@ -1 +1 @@
SUBDIRS := const utils math mtx auto_diff num interp_1d interp_2d chem eos forum colors rates neu gyre kap
SUBDIRS := const utils math mtx auto_diff num interp_1d interp_2d chem eos forum colors rates neu net gyre kap
33 changes: 33 additions & 0 deletions net/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
include ../make/defaults-module.mk

# Build

MODULE_NAME := net
SRCS := public/net_def.f90 \
public/net_lib.f90 \
private/net_screen.f90 \
private/net_derivs_support.f90 \
private/net_derivs.f90 \
private/net_approx21.f90 \
private/net_burn_support.f90 \
private/net_initialize.f90 \
private/net_eval.f90 \
private/net_burn.f90 \
private/net_burn_const_density.f90 \
private/net_burn_const_p.f90
SRCS_CHECK := test/src/test_net.f90
INTERNAL_DEPENDS_ON := const utils math mtx num chem rates interp_1d eos
EXTERNAL_DEPENDS_ON :=
BINTYPE := static-lib

# Testing

CHECK_RESULTS_GOLDEN := test/test_output

# Install

MODULES := net_def.mod net_lib.mod
INSTALL_INCLUDES := public/burner_const_density_get_eos_info.inc \
public/burner_finish_substep.inc

include $(MAKE_DIR)/Makefile
3 changes: 0 additions & 3 deletions net/build_and_test

This file was deleted.

3 changes: 0 additions & 3 deletions net/build_and_test_parallel

This file was deleted.

2 changes: 0 additions & 2 deletions net/clean

This file was deleted.

2 changes: 0 additions & 2 deletions net/export

This file was deleted.

1 change: 0 additions & 1 deletion net/i1

This file was deleted.

1 change: 0 additions & 1 deletion net/i1p

This file was deleted.

8 changes: 0 additions & 8 deletions net/make/makefile

This file was deleted.

125 changes: 0 additions & 125 deletions net/make/makefile_base

This file was deleted.

1 change: 0 additions & 1 deletion net/mk

This file was deleted.

1 change: 0 additions & 1 deletion net/test/ck

This file was deleted.

2 changes: 0 additions & 2 deletions net/test/clean

This file was deleted.

4 changes: 0 additions & 4 deletions net/test/cleanup

This file was deleted.

2 changes: 0 additions & 2 deletions net/test/export

This file was deleted.

8 changes: 0 additions & 8 deletions net/test/make/makefile

This file was deleted.

116 changes: 0 additions & 116 deletions net/test/make/makefile_base

This file was deleted.

14 changes: 0 additions & 14 deletions net/test/mk

This file was deleted.

1 change: 0 additions & 1 deletion net/test/mkx

This file was deleted.

3 changes: 0 additions & 3 deletions net/test/rn

This file was deleted.

1 change: 0 additions & 1 deletion touch
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ do_one astero
do_one atm
do_one binary
do_one ionization
do_one net
do_one sample
do_one star
do_one star_data
Expand Down

0 comments on commit 15f3597

Please sign in to comment.