Join / Log in
Nominate for the IBM TechXchange Awards by 12 September!
Originally posted by: Jinsong JI Good new! The more focused community about XL compilers on POWER is now available at http://ibm.biz/xl-power-compilers . If you are interested in the XL compilers on POWER, you may want to join the new community and subscribe to...
Originally posted by: Rafik Zurob You might have noticed that the compiler creates files with the mod file extension. These are what we call module symbol files. A module symbol file contains information about the specification part of a Fortran module. The file name is made of the...
Originally posted by: Rafik Zurob If you've tried calling system functions from a Fortran program, you might have run into difficulties because these functions don't have a Fortran interface. For example, the following code will fail execution: real x(10) pointer(p, x) p = malloc(40) if ...
Originally posted by: Rafik Zurob Last week, an XLF user asked a question in the comp.lang.fortran newsgroup about how to get make to compile some Fortran files with fixed form and others with free form. There are several ways of doing this in XLF: If you use the ".f" file extension...
Originally posted by: BardiaMahjour In the Fortran language, the kind type parameter of an intrinsic type is specified between parenthesis following the intrinsic type keyword. For example if you declare a variable of type REAL(8), the variable will have a kind type parameter equal to...
Originally posted by: Rafik Zurob C interoperability is one of the most popular features of Fortran 2003. Recently, I was part of a discussion about why XL Fortran flags the following as invalid: use iso c binding type(c ptr) p logical(8), target :: logicalarray(20) p = c loc...
Originally posted by: Rafik Zurob Last week, I wrote about user-defined constructors in Fortran 2003. This week, I'd like to discuss user-defined assignment bindings and their role as "copy constructors" for allocatable components. Like Fortran 90's user-defined assignment interface...
Originally posted by: Xing Xue With multicore and manycore machines becoming popular nowadays, more and more applications are using multi-threading to take advantage of the hardware capabilities and get better performance. Fortran applications are no exception. This blog provides tips...
Originally posted by: Rafik Zurob One of the main features of Fortran 2003 is object-orientation (OO). Derived types can now have specific and generic type-bound procedures, type-bound defined operators, type-bound defined assignment, type-bound finalizers (destructors), and type-bound...
Originally posted by: melaniejs The latest release of XL Fortran introduces new data types and intrinsic functions for the Vector Scalar eXtension (VSX) instruction set tuned for the POWER7 processor. With the VSX instruction set and the original Vector Multimedia eXtension (VMX) intrinsic...