[Trilinos-Users] trilinos configure failure using pathscale
Brad King
brad.king at kitware.com
Tue Feb 16 08:44:52 MST 2010
John R Cary wrote:
> Brad King wrote:
>> Please send me (off list) a tarball of the CMakeFiles/FortranCInterface
>> directory from the build tree.
> Here is the full CmakeFiles directory.
Try applying the patch below to the CMake Modules directory.
-Brad
diff --git a/Modules/FortranCInterface/my_module_.c b/Modules/FortranCInterface/my_module_.c
index 0d7091f..364b214 100644
--- a/Modules/FortranCInterface/my_module_.c
+++ b/Modules/FortranCInterface/my_module_.c
@@ -1,2 +1,8 @@
+#if defined(__PATHSCALE__)
+/* PathScale Fortran wants my_module_ when calling any my_module symbol,
+ but module symbols use '.in.' so we cannot provide them anyway. */
+void pathscale_my_module_(void) {}
+#else
/* PGI Fortran wants my_module_ when calling any my_module symbol. */
void my_module_(void) {}
+#endif
More information about the Trilinos-Users
mailing list