Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
RelaxSE-Code
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
RelaxSE
RelaxSE-Code
Commits
db7b58c4
Commit
db7b58c4
authored
3 years ago
by
Elisa Rebolini
Browse files
Options
Downloads
Patches
Plain Diff
fix library dependencies
parent
98bad771
No related branches found
Branches containing commit
No related tags found
2 merge requests
!5
Implementation of the density matrix
,
!4
Implementation of the density matrix
Pipeline
#10331
failed
3 years ago
Stage: build
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
CMakeLists.txt
+55
-27
55 additions, 27 deletions
CMakeLists.txt
with
55 additions
and
27 deletions
CMakeLists.txt
+
55
−
27
View file @
db7b58c4
...
...
@@ -101,6 +101,9 @@ if(ENABLE_MPI)
endif
()
include
(
RelaxSE_Sources
)
if
(
ENABLE_DEV
)
include
(
RelaxSE_dev
)
endif
()
# Common Libraries
add_library
(
RelaxSE_common
...
...
@@ -155,18 +158,27 @@ add_dependencies(RelaxSE_lib RelaxSE_IO)
add_dependencies
(
RelaxSE_lib RelaxSE_common
)
if
(
ENABLE_DEV
)
add_library
(
RelaxSE_prop
${
RELAXSE_SOURCES_prop
}
${
RELAXSE_dev
}
)
add_library
(
RelaxSE_prop
${
RELAXSE_SOURCES_prop
}
${
RELAXSE_dev
}
)
else
()
add_library
(
RelaxSE_prop
${
RELAXSE_SOURCES_prop
}
)
add_library
(
RelaxSE_prop
${
RELAXSE_SOURCES_prop
}
)
endif
()
add_dependencies
(
RelaxSE_prop RelaxSE_type
)
add_dependencies
(
RelaxSE_prop RelaxSE_IO
)
add_dependencies
(
RelaxSE_prop RelaxSE_common
)
add_dependencies
(
RelaxSE_prop RelaxSE_lib
)
if
(
ENABLE_NOGEN
)
add_dependencies
(
RelaxSE_prop RelaxSE_type
)
add_dependencies
(
RelaxSE_prop RelaxSE_IO
)
add_dependencies
(
RelaxSE_prop RelaxSE_common
)
add_dependencies
(
RelaxSE_prop RelaxSE_lib
)
else
()
add_dependencies
(
RelaxSE_prop RelaxSE_type
)
add_dependencies
(
RelaxSE_prop RelaxSE_IO
)
add_dependencies
(
RelaxSE_prop RelaxSE_common
)
add_dependencies
(
RelaxSE_prop RelaxSE_fockgen
)
add_dependencies
(
RelaxSE_prop RelaxSE_intgen
)
add_dependencies
(
RelaxSE_prop RelaxSE_lib
)
endif
()
if
(
MPI_Fortran_FOUND
)
target_include_directories
(
RelaxSE_lib PRIVATE
...
...
@@ -206,13 +218,25 @@ if(ENABLE_NOGEN)
### RelaxSE program (nogen)
add_executable
(
relaxse.x src/RelaxSE.F90
)
target_link_libraries
(
relaxse.x
RelaxSE_lib
RelaxSE_type
RelaxSE_IO
RelaxSE_common
${
LAPACK_LIBRARIES
}
${
BLAS_LIBRARIES
}
)
RelaxSE_lib
RelaxSE_type
RelaxSE_IO
RelaxSE_common
${
LAPACK_LIBRARIES
}
${
BLAS_LIBRARIES
}
)
### Code for properties calculations
add_executable
(
prop.x src/prop.F90
)
target_link_libraries
(
prop.x
RelaxSE_lib
RelaxSE_prop
RelaxSE_type
RelaxSE_IO
RelaxSE_common
${
LAPACK_LIBRARIES
}
${
BLAS_LIBRARIES
}
)
else
()
### RelaxSE program (gen)
add_executable
(
relaxse.x src/RelaxSE.F90
)
...
...
@@ -226,19 +250,23 @@ else()
${
LAPACK_LIBRARIES
}
${
BLAS_LIBRARIES
}
)
### Code for properties calculations
add_executable
(
prop.x src/prop.F90
)
target_link_libraries
(
prop.x
RelaxSE_lib
RelaxSE_prop
RelaxSE_type
RelaxSE_IO
RelaxSE_common
RelaxSE_fockgen
RelaxSE_intgen
${
LAPACK_LIBRARIES
}
${
BLAS_LIBRARIES
}
)
endif
()
### Code for properties calculations
add_executable
(
prop.x src/prop.F90
)
target_link_libraries
(
prop.x
RelaxSE_lib
RelaxSE_prop
RelaxSE_type
RelaxSE_IO
RelaxSE_common
${
LAPACK_LIBRARIES
}
${
BLAS_LIBRARIES
}
)
### Unitests
enable_testing
()
...
...
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