Article View: comp.unix.cray
Article #332cfortran do not work on our system/searching binary gnu cpp for cray
From: 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
Technical Details
Message-ID:
<37ln53$2bfs@info2.rus.uni-stuttgart.de>Path:
arc1-ca.pugleaf.net!bga.com!news.sprintlink.net!howland.reston.ans.net!math.ohio-state.edu!jussieu.fr!univ-lyon1.fr!swidir.switch.ch!scsing.switch.ch!news.belwue.de!news.uni-stuttgart.de!zrzm0370Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,858efdb6904ded85,start X-Google-Attributes: gid11318c,public X-Google-Thread: 10eb55,858efdb6904ded85,start X-Google-Attributes: gid10eb55,public X-Google-ArrivalTime: 1994-10-15 14:08:48 PST Path: arc1-ca.pugleaf.net!bga.com!news.sprintlink.net!howland.reston.ans.net!math.ohio-state.edu!jussieu.fr!univ-lyon1.fr!swidir.switch.ch!scsing.switch.ch!news.belwue.de!news.uni-stuttgart.de!zrzm0370 From: zrzm0370@helpdesk.rus.uni-stuttgart.de (Joerg Scheurich) Newsgroups: comp.unix.cray,gnu.gcc.help Subject: cfortran do not work on our system/searching binary gnu cpp for cray Date: 14 Oct 1994 10:39:31 GMT Organization: Comp.Center (RUS), U of Stuttgart, FRG Lines: 36 Distribution: inet Message-ID: <37ln53$2bfs@info2.rus.uni-stuttgart.de> NNTP-Posting-Host: helpdesk.rus.uni-stuttgart.de