Giter Club home page Giter Club logo

Comments (11)

mfgu avatar mfgu commented on September 14, 2024

Hi Ken,
I have fixed this issue in recent updates. it's because the newer version of gfortran is more strict on the argument types.

from fac.

kdere avatar kdere commented on September 14, 2024

I tried with the lastest 1.1.4 release and that did not work. I forked the current github files and made my own release and that did not work either. Is it a question of the version of gfortran that I am using?

from fac.

mfgu avatar mfgu commented on September 14, 2024

what error messages do you get with the up to date version? it shouldn't be the argument type mismatch.

from fac.

kdere avatar kdere commented on September 14, 2024

using the latest version of FAC and gfortran-12 I get

make[1]: Entering directory '/home/ken/Downloads/python/fac-1.1.5/toms'
gfortran -c -fPIC -O2 fdi.f
fdi.f:1055:33:

1055 | DATA RMACH(5) / Z'3E9A209B' /
| 1
Error: BOZ literal constant near (1) cannot be assigned to a REAL variable [see ‘-fno-allow-invalid-boz’]
fdi.f:1054:33:

1054 | DATA RMACH(4) / Z'34000000' /
| 1
Error: BOZ literal constant near (1) cannot be assigned to a REAL variable [see ‘-fno-allow-invalid-boz’]
fdi.f:1053:33:

1053 | DATA RMACH(3) / Z'33800000' /
| 1
Error: BOZ literal constant near (1) cannot be assigned to a REAL variable [see ‘-fno-allow-invalid-boz’]
fdi.f:1052:33:

1052 | DATA RMACH(2) / Z'7F7FFFFF' /
| 1
Error: BOZ literal constant near (1) cannot be assigned to a REAL variable [see ‘-fno-allow-invalid-boz’]
fdi.f:1051:33:

1051 | DATA RMACH(1) / Z'00800000' /
| 1
Error: BOZ literal constant near (1) cannot be assigned to a REAL variable [see ‘-fno-allow-invalid-boz’]
make[1]: *** [Makefile:15: fdi.o] Error 1
make[1]: Leaving directory '/home/ken/Downloads/python/fac-1.1.5/toms'
make: *** [Makefile:29: lib] Error 2

from fac.

kdere avatar kdere commented on September 14, 2024

I look through toms/fdi.f and the comments indicate that this part of the code is for an HP 730

from fac.

Zstar95 avatar Zstar95 commented on September 14, 2024

I look through toms/fdi.f and the comments indicate that this part of the code is for an HP 730

Using "-fallow-invalid-boz" option for FFLAGS/FFLAGSNO flag should be working.

from fac.

kdere avatar kdere commented on September 14, 2024

Where do I specify "-fallow-invalid-boz"?

from fac.

mfgu avatar mfgu commented on September 14, 2024

the easiest way is to set env variable before configure. e.g., if using bash
export F77='gfortran -fallow-invalid-boz'

I will fix the code in a later update.

from fac.

Zstar95 avatar Zstar95 commented on September 14, 2024

Where do I specify "-fallow-invalid-boz"?

At present, in file 'Configure, find the lines 'FFLAGSNO="$FFLAGS"' and 'FFLAGS="$FFLAGS $fopt"', adding into the option "-fallow-invalid-boz" may work. Or you can use the way suggested by Prof. Gu.

from fac.

kdere avatar kdere commented on September 14, 2024

I could not get those two suggestions to work. But I went into toms/fdi.f and commented out the RMACH lines and then it would compile.

from fac.

mfgu avatar mfgu commented on September 14, 2024

this is fixed in the latest update.

from fac.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.