Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

esmp install broken #981

doutriaux1 opened this issue Jan 26, 2015 · 0 comments · Fixed by #982

esmp install broken #981

doutriaux1 opened this issue Jan 26, 2015 · 0 comments · Fixed by #982


Copy link

Somehow is now wrong.

It should be:

ESMFMKFILE = "../../../../../Externals/lib/libO/Linux.gfortran.64.mpiuni.default/"

But it is only:

ESMFMKFILE = "../../Externals/lib/libO/Linux.gfortran.64.mpiuni.default/"

Seems to have been introduced by commit 71421b7

Looking at the commit's diff I see:

diff --git a/CMake/cdat_modules/python_pkg.cmake b/CMake/cdat_modules/python_pkg.cmake
index 983ce46..680cd29 100644
--- a/CMake/cdat_modules/python_pkg.cmake
+++ b/CMake/cdat_modules/python_pkg.cmake
@@ -13,36 +13,37 @@ add_cdat_package(Python ${PYTHON_MAJOR_SRC}.${PYTHON_MINOR_SRC}.${PYTHON_PATCH_S
 # FIXME: Name style


Notice how SITE_PACKAGES seems longer now

and then later

diff --git a/CMake/cdat_modules_extra/ b/CMake/cdat_modules_extra/
index 1084e52..2b8c288 100644
--- a/CMake/cdat_modules_extra/
+++ b/CMake/cdat_modules_extra/
@@ -2,7 +2,7 @@

 file(GLOB_RECURSE ESMP_esmfmkfile "@cdat_EXTERNALS@/lib/libO/*.mk")
-file(RELATIVE_PATH _rel_path @PYTHON_SITE_PACKAGES@/ESMP/src ${ESMP_esmfmkfile})
+file(RELATIVE_PATH _rel_path @PYTHON_SITE_PACKGES_PREFIX@/ESMP/src ${ESMP_esmfmkfile})

typo here but it doesn't seem to fix the problem..

I guess the issue is why a REL_PATH here? Can't we hard code this?

@doutriaux1 doutriaux1 added this to the 2.1.1 milestone Jan 26, 2015
doutriaux1 added a commit that referenced this issue Jan 26, 2015
full path seems to work and the patch anyway tries to convert relpath back to full path
fix #981
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet

Successfully merging a pull request may close this issue.

1 participant