[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Help with blacs



In the attempt to improve blacs, I've patched it to build shared
libraries in addition to the static ones it already generates.

With the code checked into CVS, I was able to successfully build a blacs
package with shared libraries on FC-3. It also uses those shared
libraries to build its test executables.

However, for FC-4 and devel, x86 and x86_64 cannot use the shared
libraries it generates to build its test executables.

For the life of me, I can't figure out why this is happening. The only
difference between FC-3 and FC-4/devel is that FC-3 uses g77 for the
fortran bits, and FC-4/devel uses gfortran.

The working (plague built) FC-3 blacs packages and logs are here:
http://buildsys.fedoraproject.org/logs//3/201-blacs-1.1-11.fc3/

The broken (plague failed) FC-4 blacs bits and logs are here:
http://buildsys.fedoraproject.org/logs//4/202-blacs-1.1-11.fc4/

Of course, to add insult to injury, FC-4 ppc works perfectly.

If anyone can help me figure out what is going on here (and fix it), I
would be very grateful.

Here is a diff between the FC-3 and FC-4 cvs branches:

[spot swoop blacs]$ diff -urp FC-3/ FC-4 --exclude=Entries
--exclude=branch --exclude=Repository
diff -urp --exclude=Entries --exclude=branch --exclude=Repository
FC-3/blacs.spec FC-4/blacs.spec
--- FC-3/blacs.spec     2005-07-29 14:41:40.000000000 -0500
+++ FC-4/blacs.spec     2005-07-29 14:42:08.000000000 -0500
@@ -15,7 +15,7 @@ Source6: http://www.netlib.org/blacs/f77
 Source7: http://www.netlib.org/blacs/cblacsqref.ps
 Source8: http://www.netlib.org/blacs/lawn94.ps
 Source9: Bmake.inc.64bit
-BuildRequires: gcc-g77
+BuildRequires: gcc-gfortran
 # Lam before 7.1.1-5 is missing:
 # -shared library support
 # -fPIC compilation flag
diff -urp --exclude=Entries --exclude=branch --exclude=Repository
FC-3/Bmake.inc FC-4/Bmake.inc
--- FC-3/Bmake.inc      2005-07-12 14:46:23.000000000 -0500
+++ FC-4/Bmake.inc      2005-07-12 14:46:24.000000000 -0500
@@ -203,8 +203,8 @@
 #  optimization.  This is the F77NO_OPTFLAG.  The usage of the
remaining
 #  macros should be obvious from the names.

#=============================================================================
-   F77            = g77
-   F77NO_OPTFLAGS = $(RPM_OPT_FLAGS) -ff90 -Wno-globals -fno-globals
-fPIC
+   F77            = gfortran
+   F77NO_OPTFLAGS = $(RPM_OPT_FLAGS) -fPIC
    F77FLAGS       = $(F77NO_OPTFLAGS) -O
    F77LOADER      = $(F77)
    F77LOADFLAGS   =
diff -urp --exclude=Entries --exclude=branch --exclude=Repository
FC-3/Bmake.inc.64bit FC-4/Bmake.inc.64bit
--- FC-3/Bmake.inc.64bit        2005-07-12 14:46:23.000000000 -0500
+++ FC-4/Bmake.inc.64bit        2005-07-12 14:46:24.000000000 -0500
@@ -203,8 +203,8 @@
 #  optimization.  This is the F77NO_OPTFLAG.  The usage of the
remaining
 #  macros should be obvious from the names.

#=============================================================================
-   F77            = g77
-   F77NO_OPTFLAGS = $(RPM_OPT_FLAGS) -ff90 -Wno-globals -fno-globals
-fPIC
+   F77            = gfortran
+   F77NO_OPTFLAGS = $(RPM_OPT_FLAGS) -fPIC
    F77FLAGS       = $(F77NO_OPTFLAGS) -O
    F77LOADER      = $(F77)
    F77LOADFLAGS   =

Thanks in advance,

~spot
-- 
Tom "spot" Callaway: Red Hat Senior Sales Engineer || GPG ID: 93054260
Fedora Extras Steering Committee Member (RPM Standards and Practices)
Aurora Linux Project Leader: http://auroralinux.org
Lemurs, llamas, and sparcs, oh my!


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]