On 09/09/2015 05:09 AM, Atgeirr Rasmussen wrote:
Dear OPM community,
We have now completed the second step of renaming opm-cmake -> opm-common.
Now the module name is changed throughout the build system.
1. If you have not already done so, you should now rename your github fork (if
you have one) of opm-common
from opm-cmake to opm-common.
2. You should rename your opm-cmake working directory to opm-common.
3. You should look at the remote URLs used in that directory with "git remote
-v" and check that they refer to the
correct URL (opm-common.git, not opm-cmake.git). If not use "git remote
set-url" to update (replace opm-common with opm-cmake).
4. You should pull down the changes in all repositories (including opm-common).
5. In each build directory, I recommend deleting all files and doing the "cmake
<location of source>" command again.
Here there is an important change: before this, you would have specified
OPM_CMAKE_ROOT to point to the opm-cmake
directory. Now you must instead point OPM_COMMON_ROOT to the opm-common
directory. (This is to find the build system
macros).
6. Do 'make' in each build directory.
You should (hopefully) have no problems. If you do, please report and we'll try
to fix it.
Future reorganisations will require fewer steps. This one required changes to
all repos since we moved
the location of the build system, but future changes will be more local
(involving only a few repositories).
Atgeirr
Your information is appreciated. I think I'm going to setup an entirely
new development repo for OPM, as I have been experimenting with
other technologies likes DAGs, TUP and ninja and do not want to disturb
those fragile experiments. OPM is a wonderful collection of codes to
experiment out of the box with build mechanisms, various math codes, and
preparing to cluster OPM on bare metal. As such developing a framework
for clustering OPM has been my focus of late. I'd be curious to learn of
what others have/are doing to prepare OPM for cluster deployment.
So, I have not kept up on all of OPM or companion codes. When your
rework (migration) is complete, I hope there are some basic guideline
instructions, as if somebody was new to OPM building up from sources.
Do post those details, when you have completed all the code structural
rework and organization as I be building anew on a cluster framework.
hth,
James
_______________________________________________
Opm mailing list
[email protected]
http://www.opm-project.org/mailman/listinfo/opm