- Works the same in Explorer (tested only on 6.0) and Netscape (tested only on Netscape 7.0 and Mozilla 1.3.1), but does not work in Opera (6.01) ***************************************************************************** */ if (document.images) { // tests for image support trilinos_title_normal = new Image(310, 55); trilinos_title_normal.src = "../../packages/common/webroot_common/trilinos_title_normal.png"; trilinos_title_over = new Image(310, 55); trilinos_title_over.src = "../../packages/common/webroot_common/trilinos_title_over.png"; sandia_normal = new Image(180, 29); sandia_normal.src = "../../packages/common/webroot_common/sandia_normal.png"; sandia_over = new Image(180, 29); sandia_over.src = "../../packages/common/webroot_common/sandia_over.png"; trilinos_normal = new Image(183, 100); trilinos_normal.src = "../../packages/common/webroot_common/trilinos_normal.png"; trilinos_over = new Image(183, 100); trilinos_over.src = "../../packages/common/webroot_common/trilinos_over.png"; } // if (document.images) //-->
|
Help - FAQ
What features must a Fortran compiler support to successfully compile ForTrilinos? The C interoperability features defined in the Fortran 2003 standard. TopWhat compilers support these features? The latest releases of most major compilers support these features. See the December 2007 issue of ACM SIGPLAN Fortran Forum (vol. 26, no. 3) for a survey of the Fortran 2003 features available in the gfortran, g95, Cray, IBM, NAG and Intel compilers, each of which supports the necessary features. TopMy code is written in Fortran 77/90/95. Do I need to learn Fortran 2003 to use ForTrilinos? No. The only requirement is to pass in compatible argument types. You can either pass the Fortran types you currently use (in which case an implicit conversion to a C type occurs) or you can explicitly convert the arguments you’re passing to C types. Only the latter approach requires you to learn any Fortran 2003. Even then, the new features will feel very natural as Fortran 2003 specifies a set of KIND parameters that provide direct access to standard C types within Fortran code. TopIs ForTrilinos portable? Yes, the very reason for using the C interoperability features of Fortran 2003 is to provide standards-conforming, portable mechanisms for calling C procedures from Fortran and vice versa. TopWhat about name mangling and trailing underscores and such? Unlike most previous attempts to interface Fortran and C/C++, you no longer have to learn the naming convention of your compiler. The Fortran 2003 C interoperability constructs allow the programmer to bind a Fortran procedure name to a corresponding C procedure and vice versa. Also, it is possible for callbacks to occur by passing back and forth C function pointers via their corresponding Fortran 2003 derived type. TopWhat if I don’t see Fortran interfaces for the Trilinos packages I want to use? The development of ForTrilinos is user-driven. Let us know what packages you want to use, and we’ll develop the required interfaces. Top |
|
||
| ||||