Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
N
NP_TMcode
Manage
Activity
Members
Plan
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Analyze
Contributor analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Giacomo Mulas
NP_TMcode
Commits
9140238f
Commit
9140238f
authored
8 months ago
by
Giovanni La Mura
Browse files
Options
Downloads
Patches
Plain Diff
Set up file structure to use autoconf
parent
d4d538a0
Loading
Loading
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.gitignore
+10
-0
10 additions, 0 deletions
.gitignore
src/Makefile.am
+16
-0
16 additions, 0 deletions
src/Makefile.am
src/configure.ac
+46
-0
46 additions, 0 deletions
src/configure.ac
with
72 additions
and
0 deletions
.gitignore
+
10
−
0
View file @
9140238f
...
...
@@ -6,5 +6,15 @@ build/trapping/*
build/libnptm/*
containers/singularity/*.sif
doc/build/*
src/aclocal.m4
src/autom4te.cache
src/config.*
src/configure
src/configure~
src/libtool
src/m4
src/Makefile
src/Makefile.in
src/*/.deps
src/*/objects/*
src/*/dynobjects/*
This diff is collapsed.
Click to expand it.
src/Makefile.am
0 → 100644
+
16
−
0
View file @
9140238f
AUTOMAKE_OPTIONS
=
subdir-objects
lib_LTLIBRARIES
=
libnptm.la
libnptm_la_SOURCES
=
libnptm/algebraic.cpp libnptm/clu_subs.cpp libnptm/Commons.cpp libnptm/Configuration.cpp libnptm/file_io.cpp libnptm/lapack_calls.cpp libnptm/logging.cpp libnptm/magma_calls.cpp libnptm/Parsers.cpp libnptm/sph_subs.cpp libnptm/tfrfme.cpp libnptm/TransitionMatrix.cpp libnptm/tra_subs.cpp libnptm/types.cpp
bin_PROGRAMS
=
edfb_clu clu np_cluster edfb_sph sph np_sphere frfme lffft np_trapping
edfb_clu_SOURCES
=
cluster/edfb_clu.f
clu_SOURCES
=
cluster/clu.f
np_cluster_SOURCES
=
cluster/np_cluster.cpp cluster/cluster.cpp
edfb_sph_SOURCES
=
sphere/edfb_sph.f
sph_SOURCES
=
sphere/sph.f
np_sphere_SOURCES
=
sphere/np_sphere.cpp sphere/sphere.cpp
frfme_SOURCES
=
trapping/frfme.f
lffft_SOURCES
=
trapping/lffft.f
np_trapping_SOURCES
=
trapping/np_trapping.cpp trapping/cfrfme.cpp trapping/clffft.cpp
check_PROGRAMS
=
test_TEDF test_TTMS
test_TEDF_SOURCES
=
testing/test_TEDF.cpp
test_TTMS_SOURCES
=
testing/test_TTMS.cpp
This diff is collapsed.
Click to expand it.
src/configure.ac
0 → 100644
+
46
−
0
View file @
9140238f
# CAPABILITY TESTING MACROS
# END CAPABILITY TESTING MACROS
# autoconf setup initialization
AC_INIT([np_tmcode], [8.04], [giovanni.lamura@inaf.it])
# Folder structure safety check
AC_CONFIG_SRCDIR([libnptm/TransitionMatrix.cpp])
# Auxiliary build folder
AC_CONFIG_AUX_DIR([../build/aux])
# automake initialization
AM_INIT_AUTOMAKE([-Wall -Werror foreign])
# Compiler detection
AM_PROG_AR
AC_PROG_F77([mpif90 gfortran f77])
AC_PROG_CXX([mpicxx g++ clang])
# Libtool initialization
LT_INIT
# Environment setup
FFLAGS="-std=legacy -O3"
CXXFLAGS="-O3 -ggdb -Wno-format-contains-nul"
SUBDIRS="cluster libnptm sphere testing trapping"
AS_IF(
[test "x$HDF5_INCLUDE" = "x"],
[export HDF5_INCLUDE=/usr/include/hdf5/serial],
[AC_MSG_NOTICE(["HDF5_INCLUDE=$HDF5_INCLUDE"])]
)
# Check for required headers
AC_CHECK_HEADER(
[$HDF5_INCLUDE/hdf5.h],
,
AC_MSG_ERROR(["Could not find HDF5 headers!]),
)
# Send output to Makefiles
AC_CONFIG_FILES([Makefile])
# Generate the output
AC_OUTPUT
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment