Error: Type mismatch in argument  [SOLVED]

option, parallelism,...

Moderators: jbeuken, Jordan, pouillon

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 builds.
For a video explanation on how to build Abinit 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.

Error: Type mismatch in argument

Postby fkh » Tue Feb 12, 2019 11:28 pm

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
fkh
 
Posts: 1
Joined: Tue Feb 12, 2019 10:43 pm

Re: Error: Type mismatch in argument  [SOLVED]

Postby jbeuken » Wed Feb 13, 2019 12:31 am

Hi,

what is the version of your compiler?

Code: Select all
gcc --version
gfortran --version


we support only gcc >= 4.9

regards

jmb
User avatar
jbeuken
 
Posts: 306
Joined: Tue Aug 18, 2009 9:24 pm


Return to Configuration

Who is online

Users browsing this forum: No registered users and 3 guests