Hi All,
I need to build some MPI applications on the SCC which are written in Fortran. I've RCKMPI and also a C/C++ cross-compiler setup, so I can build any MPI applications written in C. Any pointers on how to obtain (e.g, building from source) a Fortran cross-compiler on the SCC? Any help would be great.
Thanks,
Vish
I don't know if it will work with MPI but have you tried the cross Fortran compiler that we made available today? Are you external or using the data center?
Thanks for the reply Ted. What timing for the release! I had not seen that post. Just now saw it. We have our own SCC, so I will follow the instructions and try to install it.
Here's another possibiilty ... I just got a message from Michael in Germany who should be relaxing after dinner but instead is checking his email ... that you could try a very preliminary beta SCC Linux. The emphasis here is on the "very preliminary beta". It has a fortran. Look in
http://marcbug.scc-dc.com/svn/repository/trunk/CustomSCCLinux and README.txt. There is also a bug product called SCC Linux (beta 2.6.37) in our bugzilla that tracks this beta.
You might try just the i586-scc-linux-gnu.tar.bz2 and not the beta Linux. These are gnu compilers not Intel ones.
Alright. I will first try the cross-compiler. RCKMPI documentation says that you can use it with either C or Fortran code depending on your cross-compiler setup, so I would think that RCKMPI + ifort should do the job. If the cross-compiler does not work, I will go with the scc linux image route.
Actually I think you can try out the gnu C/C++ and Gnu fortran with the 586-scc-linux-gnu.tar.bz2 file without loading the beta Linux image. It should run with 1.4.0 (possibly even 1.3.0). You might need to copy some additional libraries. I haven't tried this out. Please report if you do and how it works out for you.
Ok, let me try that and get back. Thanks for the input.
BTW, RCKMPI documentation says this:
"After this, the mpicc (and the FORTRAN related ones as well, depending on your cross compiler environment) should be available."
Does that mean, I should see some fortran specific compiler mpif77 after installing fortran cross-compiler?
Yes ...
tekubasx@marc101:/shared/rckmpi/mpb/rckmpi/bin$ ls -l mpif77
-rwxrwxrwx 1 root root 10239 2011-02-15 05:27 mpif77
tekubasx@marc101:/shared/rckmpi/mpb/rckmpi/bin$
The language bindings work for C, C++ and Fortran.
I can verify the following setups, for C/C++:
ICC 8.1
ICC 10.1
GCC 3.4
GCC 4.4
For Fortran:
Gfortran 4.4
ifort 10.1
The only challenge here is to set up a working cross compiler.
Yes, we have it working now for fortran with ifort + RCKMPI setup. It worked pretty much out-of-the-box. Thanks.

