File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ worker_code.h: interface.py
3636 $(CODE_GENERATOR ) --type=H interface.py ArepoInterface -o $@
3737
3838arepo_worker : worker_code.cc worker_code.h $(CODELIB ) $(OBJS )
39- $(MPICXX ) $(CXXFLAGS ) $< $(OBJS ) $(CODELIB ) -o $@
39+ $(MPICXX ) $(CXXFLAGS ) $( GSL_FLAGS ) $( GMP_LIBS ) $( GSL_LIBS ) $ < $(OBJS ) $(CODELIB ) -o $@
4040
4141.cc.o : $<
4242 $(MPICXX ) $(CXXFLAGS ) $(CODELIB ) -c -o $@ $<
Original file line number Diff line number Diff line change @@ -16,11 +16,12 @@ LDFLAGS += -lm $(MUSE_LD_FLAGS)
1616CODELIB = libarepo.a
1717
1818SUBDIR = add_backgroundgrid cooling debug_md5 domain fof gitversion gravity \
19- hydro init io main mesh mpi_utils ngbtree star_formation subfind \
19+ hydro init io mesh mesh/voronoi mpi_utils ngbtree star_formation subfind \
2020 time_integration utils
2121SRCS = $(foreach fd, $(SUBDIR ) , $(wildcard $(fd ) /* .c) )
2222
2323CODEOBJS = $(SRCS:c=o )
24+ CODEOBJS += main/allvars.o main/run.o main/main.o
2425
2526AR = ar ruv
2627RANLIB = ranlib
Original file line number Diff line number Diff line change @@ -84,7 +84,7 @@ void begrun0(void)
8484
8585 if (ThisTask == 0 )
8686 {
87- output_compile_time_options ();
87+ // output_compile_time_options();
8888 }
8989}
9090
Original file line number Diff line number Diff line change 5858 *
5959 * \return status of exit; 0 for normal exit.
6060 */
61- int main (int argc , char * * argv )
61+ int no_main (int argc , char * * argv )
6262{
6363// #ifdef IMPOSE_PINNING
6464// detect_topology();
You can’t perform that action at this time.
0 commit comments