gfxgfx
 
Please login or register.

Login with username, password and session length
 
gfx gfx
gfx
1617 Posts in 535 Topics by 779 Members - Latest Member: rhoronjeff@comcast.net November 27, 2022, 09:05:45 PM
*
gfx* Home | Help | Search | Login | Register | gfx
gfx
Absoft User Forum  |  Support  |  Linux  |  compiling 32-bit code on 64-bit arch
gfx
gfxgfx
 

Author Topic: compiling 32-bit code on 64-bit arch  (Read 11312 times)

gtr35

  • Newbie
  • *
  • Posts: 1
compiling 32-bit code on 64-bit arch
« on: July 25, 2007, 09:38:14 PM »
I have 2 RHEL machines, one 32-bit and the other 64-bit, both configured the same with identical installs of Absoft F77. My code compiles fine on the 32-bit machine, but when I try compiling it on the 64-bit machine, I'm getting these error messages:

f77 -C -g -A -s -W -trap=INVALID,DIVBYZERO,OVERFLOW -I../.. -c editRoll.for -o editRoll.o
FORTRAN 77 Compiler 9.0e, Copyright (c) 1987-2005, Absoft Corp.
/tmp/rxOP1g/editRoll.s: Assembler messages:
/tmp/rxOP1g/editRoll.s:3744: Error: suffix or operands invalid for `push'
/tmp/rxOP1g/editRoll.s:4805: Error: suffix or operands invalid for `sahf'
/tmp/rxOP1g/editRoll.s:4980: Error: suffix or operands invalid for `sahf'
/tmp/rxOP1g/editRoll.s:5272: Error: suffix or operands invalid for `sahf'
/tmp/rxOP1g/editRoll.s:5314: Error: suffix or operands invalid for `sahf'
/tmp/rxOP1g/editRoll.s:5329: Error: suffix or operands invalid for `sahf'
/tmp/rxOP1g/editRoll.s:5366: Error: suffix or operands invalid for `sahf'
/tmp/rxOP1g/editRoll.s:5378: Error: suffix or operands invalid for `sahf'
/tmp/rxOP1g/editRoll.s:5757: Error: suffix or operands invalid for `sahf'
/tmp/rxOP1g/editRoll.s:5788: Error: suffix or operands invalid for `sahf'
/tmp/rxOP1g/editRoll.s:6442: Error: suffix or operands invalid for `pop'
/tmp/rxOP1g/editRoll.s:7181: Error: suffix or operands invalid for `push'
/tmp/rxOP1g/editRoll.s:9445: Error: suffix or operands invalid for `pop'
/tmp/rxOP1g/editRoll.s:10122: Error: suffix or operands invalid for `push'
/tmp/rxOP1g/editRoll.s:11354: Error: suffix or operands invalid for `pop'
/tmp/rxOP1g/editRoll.s:11667: Error: suffix or operands invalid for `push'
/tmp/rxOP1g/editRoll.s:12577: Error: suffix or operands invalid for `pop'
assembler failed.
make: *** [editRoll.o] Error 1


What could be the cause? I tried using the -m32 flag, but this version of F77 does not support it (I think it's only supported on F90 and F95). An Absoft version upgrade is not an option at the moment because it causes other compatibility issues. I'm experiencing this same behavior with F77 8.0 and 9.0-EP.

TIA.

Jeremy

  • Guest
Re: compiling 32-bit code on 64-bit arch
« Reply #1 on: October 24, 2008, 03:37:55 PM »

The linked gzipped, tar archive contains the source code for building new drivers to allow the Absoft 8.0 32 bit compiler to run on a 64 bit Linux system.

To build the new drivers:

$ tar -xzvf 32_on_64drivers.tar.gz
$ cd 32_on64drivers
$ make

This builds three new executable files: f77, f90, and f95. To install these files, copy them to the $ABSOFT/bin directory.

http://www.absoft.com/electronicdelivery/patches/32_on_64drivers.tar.gz

anne29

  • Newbie
  • *
  • Posts: 4
Re: compiling 32-bit code on 64-bit arch
« Reply #2 on: May 29, 2011, 04:40:56 AM »
isnt it easier to make install as opposed to copying the files manually??

Absoft User Forum  |  Support  |  Linux  |  compiling 32-bit code on 64-bit arch
 

gfxgfx
gfx gfx
Powered by MySQL Powered by PHP Valid XHTML 1.0! Valid CSS!