Skip to content

Concomitant installation of old and new MOPACs #91

Answered by godotalgorithm
icamps asked this question in Q&A
Discussion options

You must be logged in to vote

In principle, this should work just by making all the desired versions available in the path and giving different names to the different executables. On Mac/Linux, I have connected the executables and shared libraries with a relative RPATH, so the executable should prioritize the libmopac version that is located in ../lib relative to the executable. On Windows, it should simply prioritize the DLL in the local directory before remote ones as far as I understand. If there is deviation from this intended/expected behavior, then please report it and I'll examine it further.

This would be more complicated if you want all of the different library and executable versions in the same directories.…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@icamps
Comment options

Answer selected by godotalgorithm
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants