Comments (11)
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.
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.
what error messages do you get with the up to date version? it shouldn't be the argument type mismatch.
from fac.
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.
I look through toms/fdi.f and the comments indicate that this part of the code is for an HP 730
from fac.
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.
Where do I specify "-fallow-invalid-boz"?
from fac.
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.
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.
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.
this is fixed in the latest update.
from fac.
Related Issues (20)
- problems building pfac HOT 2
- Incorrect CI energies? HOT 2
- Missing fine structures in LEV list HOT 2
- Radiative Recombination and Photoionization in CRM
- energy grid HOT 2
- The value of the population is very small? HOT 5
- Segmatation fault when executing pfac.atom.atomic_data HOT 3
- `rfac.read_sp` reads only the first block HOT 1
- "enlarge norbmap2" error during collisional excitation HOT 2
- Issue about mbpt.c
- Issue of SFAC interface MPI
- the issue of fac.Config HOT 4
- the issue of fac.SetAtom() HOT 1
- issue of fac
- issue of fac MPI
- issue of fac.AITable HOT 2
- Kernel crashes with fac.Structure HOT 4
- Possible issue with continuum wave for certain kappa HOT 2
- Seg fault when using RecStates w/ UTA HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fac.