Dear All
this error is observed.
( abinit-8.10.2 , intle quad core 6600 , ( i7) , fedora 15 , serial ,)
.....
e=native -march=native -g -ffree-line-length-none -c -o m_spin_hist.o m_spin_hist.F90
m_spin_hist.F90:484.37:
hist%ihist=spin_hist_t_findIndex(hist,1)
1
Error: Type mismatch in argument 'hist' at (1); passed CLASS(spin_hist_t) to TYPE(spin_hist_t)
m_spin_hist.F90:444.28:
i=spin_hist_t_findIndex(hist,step=j)
1
Error: Type mismatch in argument 'hist' at (1); passed CLASS(spin_hist_t) to TYPE(spin_hist_t)
make[3]: *** [m_spin_hist.o] Error 1
make[3]: Leaving directory `/home/fer/abinit-8.10.2/src/78_effpot'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/fer/abinit-8.10.2/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/fer/abinit-8.10.2'
make: *** [all] Error 2
thanks in advance
Khazali Fereydoon
Error: Type mismatch in argument [SOLVED]
Moderators: fgoudreault, mcote
Forum rules
Please have a look at ~abinit/doc/config/build-config.ac in the source package for detailed and up-to-date information about the configuration of Abinit 8 builds.
For a video explanation on how to build Abinit 7.x for Linux, please go to: http://www.youtube.com/watch?v=DppLQ-KQA68.
IMPORTANT: when an answer solves your problem, please check the little green V-like button on its upper-right corner to accept it.
Please have a look at ~abinit/doc/config/build-config.ac in the source package for detailed and up-to-date information about the configuration of Abinit 8 builds.
For a video explanation on how to build Abinit 7.x for Linux, please go to: http://www.youtube.com/watch?v=DppLQ-KQA68.
IMPORTANT: when an answer solves your problem, please check the little green V-like button on its upper-right corner to accept it.
Re: Error: Type mismatch in argument [SOLVED]
Hi,
what is the version of your compiler?
we support only gcc >= 4.9
regards
jmb
what is the version of your compiler?
Code: Select all
gcc --version
gfortran --version
we support only gcc >= 4.9
regards
jmb
------
Jean-Michel Beuken
Computer Scientist
Jean-Michel Beuken
Computer Scientist