Dear Siesta Users and developers

I am trying to compile tbtrans using netcdf4 in siesta4.1b2.  I have 
successfully installed NetCDF4 using the method mentioned in the link : 

http://www.mail-archive.com/siesta-l@uam.es/msg09275.html

I am simply using gfortran in compilation. My arch.make file is attached 
herewith. 

During  transiesta compilation error message shown is : 

/4.4.0/include -I/home/drmohanlv/build/netcdf/4.4.0/include   nf_ncdf.f90
nf_ncdf.f90:2342.28:

  real(dp), allocatable :: r
                            1
Error: Scalar object 'r' at (1) may not be ALLOCATABLE
nf_ncdf.f90:2133.28:

  real(sp), allocatable :: r
                            1
Error: Scalar object 'r' at (1) may not be ALLOCATABLE
make[2]: *** [nf_ncdf.o] Error 1
make[2]: Leaving directory `/home/drmohanlv/siesta-4.1-b2/Obj/NCDF/src'
make[1]: *** [lib] Error 2
make[1]: Leaving directory `/home/drmohanlv/siesta-4.1-b2/Obj/NCDF'
make: *** [libncdf.a] Error 2
 

And during  tbtrans compilation the error message shown : 


gfortran -c -O2 -fPIC -ftree-vectorize -I../../ 
-I/home/drmohanlv/build/netcdf/4.4.0/include   nf_ncdf.f90
nf_ncdf.f90:2342.28:

  real(dp), allocatable :: r
                            1
Error: Scalar object 'r' at (1) may not be ALLOCATABLE
nf_ncdf.f90:2133.28:

  real(sp), allocatable :: r
                            1
Error: Scalar object 'r' at (1) may not be ALLOCATABLE
make[1]: *** [nf_ncdf.o] Error 1
make[1]: Leaving directory 
`/home/drmohanlv/siesta-4.1-b2/Util/TS/TBtrans/NCDF/src'
make: *** [libncdf.a] Error 2
 
Without Netcdf4 both compilation was completed successfully. And similar errors 
are obtained in siesta4.1b3 too. pls help me to sort this issues. 

Thanking you in advanced. 

Dr Mohan L Verma 
Prof & Head
Department of Applied Physics
FET,SSGI Shri Shankaracharya Technical Campus-Junwani, Bhilai (Chhattisgrah) 
INDIA
490020 



Sent from Mail for Windows 10

Attachment: arch.make
Description: Binary data

Reply via email to