Thread View: comp.unix.cray
1 messages
1 total messages
Started by Joerg Scheurich
Fri, 14 Oct 1994 10:39
cfortran do not work on our system/searching binary gnu cpp for cray
Author: Joerg Scheurich
Date: Fri, 14 Oct 1994 10:39
Date: Fri, 14 Oct 1994 10:39
34 lines
2325 bytes
2325 bytes
Currently we are searching a strong portable way, to mix C/C++ and Fortran sources/libraries on various types of computers. This would be very useful for our users, e.g. those who don't know the Fortran-language, but want to use strong mathematical subroutines (e.g. NAG or ISML) which are written in Fortran. There are some cray-specific routines to support the mix of C and Fortran, but this is not easy to use for those, who develop there programs on other workstations. We is a package to support this portable way of mixing called cfortran (available from zebra.desy.de) which has support for cray-computers, but it don't work on our system (UNICOS 8.0.2.3 version uwa.39 on the CrayC90) (at least it don't work for the examples of cfortran). cfortran use a C-headerfile (cfortran.h) to produce prototypes of Fortran-routines. Unfortunally, the C-preprocessor (/lib/cpp) don't work properly with this header file. In my opioniom, it can't expand some Macros, which are made inside a Macro (using the ANSI-C '##'-construct). I tested the cfortran.h-file on a machine using the gnu cpp with -DCRAYFortran an it expanded those macros, but misses some cray-specific files. Now i want to ask if: Someone knows ftp-server with a precompiled gnu cpp (which is pathindependend i hope ...) i can use to test cfortran. Someone uses cfortran on a similar cray system. thanks yours J. Scheurich Userinterface RUS University Stuttgart
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads