Pro Fortran 9.2 for Macintosh Technical FAQs
Last Updated: 10-Mar-06

See Also

Problem Details:

OS Version: Mac OS X
Product Version: 9.2
Date: 10-Mar-06

Q. After installing XL Fortran I receive the following error: ERROR could not obtain "/usr/bin/gcc"

A. This problem occurs when one of the gcc runtime objects is missing, i.e. /usr/lib/crt1.o, /usr/lib/gcc/darwin/3.1/crtbegin.o,/usr/lib/gcc/darwin/3.3/crt2.o. The gcc runtime libraries for Mac OS X typically come with the base OS, but make sure that you havein stalled the Xcode CD which came with your OS X 10.4 disks.

index

Problem Details:

OS Version: Mac OS X 10.4
Product Version: 9.2
Date: 23-Feb-06

Q. Can you use more than 2GB of addressable memory for OS X 10.4?

A. You can address more than 2 GB of memory *if* you are using Pro Fortran 9.2 on a OS X 10.4 system with a 64-bit processor (G5). You need to use the '-m64' switch to do this. There are a couple caveats:

1. Due to a bug in the Apple assembler you can *only* address more than 2GB of memory if you are using dynamic allocation (Fortran 90 allocate)

2. Common blocks still have a 2GB limitation.

index

Problem Details:

OS Version: Mac OS X
Product Version: 9.2
Date: 06-Dec-05

Q. I recently upgraded to XCode 2.2 and now Fx2 will not launch on hello.f90.

A. You need to install our Quick Fix that will solve this issue. Please visit this page for the download.

index

Platform: All

Problem Details:

OS Version: any
Product Version: any
Date: 01-Dec-05

Q. I am trying to use some subroutines such as DATE, TIME, GETARG, IARGC, etc, but I get linker error messages indicating that they cannot be found. Is there some library I should be using?

A. You need to use the VMS and Unix compatibility functions. If you are using Linux or OS X, the easiest solution is to add the compatibility libraries to your compile command line. For example:

f90 myprog.f -lU77 -lV77

From the Developer Tools Interface for Macintosh OS X 10.4, check the "Use UNIX Library" and "Use VAX/VMS Library" boxes (page 100 of the Pro Fortran Mac OS X User Guide).

If you are using Windows Development Command shell, the libraries to add are "unix.lib" and vms.lib" (pages 101 - 102 of the Windows Fortran & C/C++ User Guide). If you're using the "Developer Tools Interface", check the "Use VAX/VMS library" box on the Target tab, then click on the UNIX Lib drop-down menu and select UNIX library (LCS).

On Macintosh and Windows, we now also provide a module for accessing these functions. Simply add a USE statement to your Fortran 95 programs.

Example:

C:\Absoft90>type t.f95
use vax_library
character*20 thedate
call date(thedate)
print *,thedate
end

C:\Absoft90>f95 t.f95

C:\Absoft90>t
26-Oct-05

C:\Absoft90>

On Unix/Linux:

use unix_library
use unixlib_types
character*24 tim
tim = ctime(5)
write(*,*) tim
end

rmd@dingo rmd $ f90 -L/Applications/Absoft/examples/UnixAndVaxLibs/ -lU77 q.f90
rmd@dingo rmd $ ./a.out
Wed Dec 31 19:00:05 1969

For a list of available routines, please refer to the Absoft Support Library located in C:\Absoft90\DOCUMENTATION.

index

Previous Versions of IMSL:

Problem Details:
OS Version: Mac OS X
Product Version: 9.2
Date: 03-May-05

Q. I am a user of Pro Fortran 9.0 for Mac. Is the IMSL that I purchased with Pro Fortran 9.0 compatible with Pro Fortran 9.2? Is it compatible with Mac OS X Tiger?

A. The IMSL v5.0 libraries purchased with Pro Fortran v9.0 / OSX are fully compatible with Pro Fortran v9.2 / OSX. However, please remember, prior to Tiger all OSX applications were 32-bit, and the IMSL libraries you have are 32 bit (only). If you wish to also generate 64-bit OSX applications which use IMSL routines, you will need to obtain a 64-bit version for IMSL for OSX/Tiger.

index

Academic Pricing and foreign universities:

Problem Details:
OS Version: Mac OS X
Product Version: 9.2
Date: 03-May-05

Q. Are academic prices applicable to purchase orders from foreign universities?

A. Yes, academic pricing is available for foreign universities.

index

Previous Versions of VAST:

Problem Details:
OS Version: Mac OS X
Product Version: 9.2
Date: 03-May-05

Q. I am a user of Pro Fortran 9.0 for Mac. Is the VAST that I purchased with Pro Fortran 9.0 compatible with Pro Fortran 9.2? Is it compatible with Mac OS X Tiger?

A. The licenses for VAST F/Vector and VAST F/Parallel purchased with your Pro Fortran v9.0 / OSX remain valid for use with Pro Fortran v9.2 / OSX. However, to ensure proper operation, you will need to re-install the VAST software from the 9.2 CD and use your existing VAST keys to unlock the software.

index

Platform: Mac OS X

Problem Details:
OS Version: Mac OS X 10.4
Product Version: 9.2
Date: 06-May-05

All Mac OS X 10.4 users please ensure that you have installed Xcode 2.0 (obtain from http://developer.apple.com).

Pro Fortran 9.2 and 9.0 are fully supported on Mac OS X 10.4. Pro Fortran 9.2 has the ability to generate 64 bit code when the -m64 compiler option is used.

Initial testing shows that Pro Fortran 8.2 and 8.0 function on Mac OS X 10.4. The provided source code examples have all been run without a problem. Updates will not be issued for these products if incompatibilities do arise.

Users have not encountered any critical errors using IBM XL Fortran on Mac OS X 10.4. XL Fortran 8.1 does not have the ability to generate 64 bit code.

index

Xcode version error

Problem Details:
OS Version: Mac OS X 10.4
Product Version: 9.0 and later
Date: 06-May-05

Q. I see this error message:

ld: /usr/lib/crt1.o illegal reference to symbol: __objcInit defined in indirectly referenced dynamic library /usr/lib/libobjc.A.dylib

A. You are using Xcode version 1.5 or earlier on Mac OS X 10.4. You must install the Apple Xcode tools version 2.0 or later. Obtain them at http://developer.apple.com.

Apple recommends that you remove old Xcode installations using the perl script "/Developer/Tools/uninstall-devtools.pl" before upgrading to version 2.0.

index

Local variable "N" must be a dummy argument or in common to be used in a bounds specification expression.

Problem Details:
OS Version: all
Product Version: all
Date: 06-May-05

Q. I get the error message:

"Local variable "N" must be a dummy argument or in common to be used in a bounds specification expression."

A. The most common cause of this is: subroutine some_name(a,b,n) real A(N), B(N)

The Absoft FORTRAN 77 compiler is case sensitive by default. The easiest way to solve this type of problem is use a case folding option: -f or -N109.

index