Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
Plumed AlphaFold
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Martin Kurečka
Plumed AlphaFold
Commits
eb0e7b53
There was an error fetching the commit references. Please try again later.
Commit
eb0e7b53
authored
7 years ago
by
Giovanni Bussi
Browse files
Options
Downloads
Patches
Plain Diff
User doc for --disable-libsearch
parent
fa0417f6
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
user-doc/Installation.txt
+11
-0
11 additions, 0 deletions
user-doc/Installation.txt
with
11 additions
and
0 deletions
user-doc/Installation.txt
+
11
−
0
View file @
eb0e7b53
...
@@ -152,6 +152,17 @@ In this example, the linker will directly try to link `/opt/local/lib/libmymathe
...
@@ -152,6 +152,17 @@ In this example, the linker will directly try to link `/opt/local/lib/libmymathe
This rule is true for all the libraries, so that you will always be able to link
This rule is true for all the libraries, so that you will always be able to link
a specific version of a library by specifying it using the LIBS variable.
a specific version of a library by specifying it using the LIBS variable.
Since version 2.3.2, the search for the library functions passing to the linker a flag with the standard library name (in the matheval example,
it would be `-lmatheval`) can be skipped by using the option `--disable-libsearch`.
Notice that in this manner only libraries that are explicitly passed using the `LIBS` option will be linked. For instance
\verbatim
> ./configure --disable-libsearch LIBS=-lmatheval
\endverbatim
will make sure that only matheval is linked and, for instance, blas and lapack libraries are not.
This might be useful when installing PLUMED within package managers such as MacPorts to
make sure that only desired libraries are linked and thus to avoid to introduce spurious
dependencies. The only exception to this rule is `-ldl`, which is anyway a system library on Linux.
\warning On Linux you might have problems using the LDFLAGS option. In particular,
\warning On Linux you might have problems using the LDFLAGS option. In particular,
if makefile complaints that it cannot link the file 'src/lib/plumed-shared',
if makefile complaints that it cannot link the file 'src/lib/plumed-shared',
try to set correctly
try to set correctly
...
...
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