<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hi Alexandre,<br>
<br>
Thanks for your help. Before your message I realized that the problem
with temp.f90 was due to commenting and line end differences between
f90 and f77. Making commenting etc changes on version.F solved that
problem.<br>
<br>
I did the changes on the Makefile about linpack as you told but it
somehow did not work until I copied linpack.smeagol.a, zgedi.o,
zgefa.o, dcabs1.o to the Src folder manually. Now it returns<br>
<blockquote><font color="#3333ff">[sefa@spirit Src]$ ./smeagol.1.0</font><br>
<font color="#3333ff">SIESTA 1.3</font><br>
<font color="#3333ff">Architecture : pgf90</font><br>
<font color="#3333ff">Compiler flags:</font><br>
<font color="#3333ff">SERIAL version</font><br>
<br>
<font color="#3333ff">* Running in serial mode</font><br>
<font color="#3333ff">>> Start of run: 21-JUL-2006 9:47:53</font><br>
<br>
<font color="#3333ff">
***********************</font><br>
<font color="#3333ff"> * WELCOME TO
SIESTA *</font><br>
<font color="#3333ff">
***********************</font><br>
<br>
<font color="#3333ff">reinit: Reading from standard input</font><br>
<font color="#3333ff">************************** Dump of input data
file ****************************<br>
</font></blockquote>
It'll work, right? Thanks for your help.<br>
<br>
Haldun<br>
<br>
<br>
Alexandre Reily Rocha wrote:
<blockquote cite="mid44C0A42C.9070109@tcd.ie" type="cite">Hi Haldun,
<br>
<br>
The first issue is related to a change the SIESTA team did to this
subroutine where they went from fixed format to free format (from
siesta.1.3 to siesta.1.3f1p). What you did solves the problem
correctly.
<br>
<br>
The second problem is a little more puzzling. It is trying to
compile a fortran subroutine with gcc.
<br>
<br>
I believe you are using in the Makefile
<br>
<br>
LINPACKOBJ=linpack.o
<br>
LINPACK=linpack.o
<br>
$(LINPACK): $(LINPACKOBJ)
<br>
<br>
If comment those three lines and uncomment the the following lines
(which are just above)
<br>
<br>
LINPACK=linpack.smeagol.a
<br>
$(LINPACK):
<br>
(cd ../linpack; $(FC) $(TRANSPORTFLAGS) *.f; \
<br>
ar -rv linpack.smeagol.a *.o; \
<br>
mv linpack.smeagol.a $(SOURCE_DIR)/Src)
<br>
<br>
LINPACKOBJ = dcabs1.o zgedi.o zgefa.o
<br>
dcabs1.o zgedi.o zgefa.o : $(LINPACK)
<br>
<br>
It should work
<br>
Cheerio
<br>
Alex
<br>
Haldun Sevincli wrote:
<br>
<blockquote type="cite">Hi,
<br>
<br>
It took time to obtain the older version of siesta. Now I have
siesta1.3p. To gain some experience I want to run the code on a PC
for the beginning (I chose one which we readily run siesta on it.) I
followed the instructions in your README file, edited the Makefile as
you suggested: renamed temp.f and temp0.f to temp.f90 and temp0.f90.
Replaced alloc_c to alloc in siesta.F. I use pgf90 (we faced with no
problem with siesta and pgf90 so far). In the arch.make file there is
a line
<br>
SOURCE_DIR=/home/tsphy/reillya/NETransport/smeagol.1.2P-AMD
<br>
I changed it to
<br>
SOURCE_DIR=/home/sefa/SMEAGOL/smeagol.1.0/NETransport
<br>
<br>
The problem is, it returns error message as
<br>
<br>
Compilation architecture to be used: pgf90
<br>
If this is not what you want, create the right
<br>
arch.make file using the models in Sys
<br>
<br>
Hit ^C to abort...
<br>
<br>
==> Information about compiler and flags
<br>
sed "s/SIESTA_ARCH/pgf90/g" version.F > temp0.F90
<br>
sed "s/FFLAGS/ /g" temp0.F90 > temp.F90
<br>
pgf90 -c -fast temp.F90
<br>
PGF90-S-0310-Illegal statement in the specification part of a
<br>
MODULE (temp.F90: 21)
<br>
PGF90-S-0310-Illegal statement in the specification part of a
<br>
MODULE (temp.F90: 22)
<br>
PGF90-S-0310-Illegal statement in the specification part of a
<br>
MODULE (temp.F90: 23)
<br>
PGF90-S-0310-Illegal statement in the specification part of a
<br>
MODULE (temp.F90: 24)
<br>
PGF90-S-0310-Illegal statement in the specification part of a
<br>
MODULE (temp.F90: 25)
<br>
PGF90-S-0310-Illegal statement in the specification part of a
<br>
MODULE (temp.F90: 26)
<br>
PGF90-S-0310-Illegal statement in the specification part of a
<br>
MODULE (temp.F90: 27)
<br>
PGF90-S-0310-Illegal statement in the specification part of a
<br>
MODULE (temp.F90: 28)
<br>
PGF90-S-0310-Illegal statement in the specification part of a
<br>
MODULE (temp.F90: 29)
<br>
PGF90-S-0023-Syntax error - unbalanced parentheses (temp.F90: 30)
<br>
PGF90-S-0023-Syntax error - unbalanced parentheses (temp.F90: 31)
<br>
PGF90-S-0310-Illegal statement in the specification part of a
<br>
MODULE (temp.F90: 32)
<br>
PGF90-S-0310-Illegal statement in the specification part of a
<br>
MODULE (temp.F90: 33)
<br>
PGF90-S-0310-Illegal statement in the specification part of a
<br>
MODULE (temp.F90: 34)
<br>
PGF90-S-0034-Syntax error at or near end of line (temp.F90: 36)
<br>
PGF90-S-0034-Syntax error at or near . (temp.F90: 37)
<br>
0 inform, 0 warnings, 16 severes, 0 fatal for version_info
<br>
PGF90-S-0034-Syntax error at or near end of line (temp.F90: 43)
<br>
PGF90-S-0034-Syntax error at or near identifier simple (temp.F90:
44)
<br>
PGF90-S-0034-Syntax error at or near identifier provide
(temp.F90: 45)
<br>
PGF90-S-0034-Syntax error at or near end of line (temp.F90: 46)
<br>
PGF90-S-0034-Syntax error at or near end of line (temp.F90: 50)
<br>
PGF90-S-0034-Syntax error at or near <quoted string>
(temp.F90: 51)
<br>
PGF90-S-0034-Syntax error at or near end of line (temp.F90: 52)
<br>
PGF90-S-0034-Syntax error at or near <quoted string>
(temp.F90: 53)
<br>
0 inform, 0 warnings, 8 severes, 0 fatal for prversion
<br>
PGF90-S-0134-Illegal attribute - conflict with intent (temp.F90:
69)
<br>
PGF90-S-0143-v requires initializer (temp.F90: 69)
<br>
0 inform, 0 warnings, 2 severes, 0 fatal for get_version
<br>
PGF90/any Linux/x86 4.0-2: compilation completed with severe
errors
<br>
make: *** [version] Error 2
<br>
<br>
When I run with the original Makefile (temp.F and temp0.F unchanged)
it proceeds but gives another error
<br>
<br>
Compilation architecture to be used: pgf90
<br>
If this is not what you want, create the right
<br>
arch.make file using the models in Sys
<br>
<br>
Hit ^C to abort...
<br>
<br>
==> Information about compiler and flags
<br>
sed "s/SIESTA_ARCH/pgf90/g" version.F > temp0.F
<br>
sed "s/FFLAGS/ /g" temp0.F > temp.F
<br>
pgf90 -c -fast temp.F
<br>
<br>
(cd fdf ; make module)
<br>
make[1]: Entering directory
`/home/sefa/SMEAGOL/smeagol.1.0/Src/fdf'
<br>
pgf90 -c -fast fdf.f
<br>
pgf90 -c -fast parse.f
<br>
pgf90 -fast -c fdf_mod.f
<br>
ar qv libfdf.a fdf.o fdf_mod.o parse.o
<br>
a - fdf.o
<br>
a - fdf_mod.o
<br>
a - parse.o
<br>
echo libfdf.a
<br>
libfdf.a
<br>
cp libfdf.a ..
<br>
make[1]: Leaving directory
`/home/sefa/SMEAGOL/smeagol.1.0/Src/fdf'
<br>
==> Compiling dc_lapack.a in Libs...
<br>
make[1]: Entering directory
`/home/sefa/SMEAGOL/smeagol.1.0/Src/Libs'
<br>
pgf90 -c -fast dc_lapack.f
<br>
ar qv dc_lapack.a dc_lapack.o
<br>
a - dc_lapack.o
<br>
echo dc_lapack.a
<br>
dc_lapack.a
<br>
mv dc_lapack.a ..
<br>
make[1]: Leaving directory
`/home/sefa/SMEAGOL/smeagol.1.0/Src/Libs'
<br>
pgf90 -c -fast precision.F
<br>
pgf90 -c -fast sys.F
<br>
pgf90 -c -fast pseudopotential.f
<br>
pgf90 -c -fast atmparams.f
<br>
pgf90 -c -fast basis_types.f
<br>
pgf90 -c -fast ionew.F
<br>
pgf90 -c -fast spher_harm.f
<br>
pgf90 -c -fast old_atmfuncs.f
<br>
pgf90 -c -fast parallel.f
<br>
pgf90 -c -fast radfft.f
<br>
pgf90 -c -fast periodic_table.f
<br>
pgf90 -c -fast atom.f
<br>
pgf90 -c -fast xml.f
<br>
pgf90 -c -fast radial.f
<br>
pgf90 -c -fast atm_types.f
<br>
pgf90 -c -fast atmfuncs.f
<br>
pgf90 -c -fast listsc.f
<br>
pgf90 -c -fast memoryinfo.F
<br>
pgf90 -c -fast numbvect.f
<br>
pgf90 -c -fast sorting.f
<br>
pgf90 -c -fast alloc.F90
<br>
pgf90 -c -fast atomlist.f
<br>
pgf90 -c -fast parsing.f
<br>
pgf90 -c -fast phonon.F
<br>
pgf90 -c -fast chemical.f
<br>
pgf90 -c -fast basis_specs.f
<br>
pgf90 -c -fast basis_io.F
<br>
pgf90 -c -fast writewave.F
<br>
pgf90 -c -fast arw.f
<br>
pgf90 -c -fast atomlwf.F
<br>
pgf90 -c -fast bands.F
<br>
pgf90 -c -fast bessph.f
<br>
pgf90 -c -fast cgwf.F
<br>
pgf90 -c -fast chkdim.f
<br>
pgf90 -c -fast chkgmx.F
<br>
pgf90 -c -fast chempot.F
<br>
pgf90 -c -fast coceri.f
<br>
pgf90 -c -fast conjgr.f
<br>
pgf90 -c -fast constr.f
<br>
pgf90 -c -fast coxmol.f
<br>
pgf90 -c -fast cross.f
<br>
pgf90 -c -fast denmat.F
<br>
pgf90 -c -fast detover.F
<br>
pgf90 -c -fast meshsubs.F
<br>
pgf90 -c -fast meshmatrix.F
<br>
pgf90 -c -fast dfscf.f
<br>
pgf90 -c -fast dhscf.F
<br>
pgf90 -c -fast diagon.F
<br>
pgf90 -c -fast digcel.f
<br>
pgf90 -c -fast fft3d.F
<br>
pgf90 -c -fast diagg.F
<br>
pgf90 -c -fast diagk.F
<br>
pgf90 -c -fast diagkp.F
<br>
pgf90 -c -fast diag2g.F
<br>
pgf90 -c -fast diag2k.F
<br>
pgf90 -c -fast diagpol.f
<br>
pgf90 -c -fast diagsprl.F
<br>
pgf90 -c -fast dipole.F
<br>
pgf90 -c -fast dismin.f
<br>
pgf90 -c -fast dnaefs.f
<br>
pgf90 -c -fast dot.f
<br>
pgf90 -c -fast dynamics.F
<br>
pgf90 -c -fast efield.F
<br>
pgf90 -c -fast egandd.F
<br>
pgf90 -c -fast ener3.F
<br>
pgf90 -c -fast extrapol.F
<br>
pgf90 -c -fast extrapolon.F
<br>
pgf90 -c -fast fermid.F
<br>
pgf90 -c -fast fermispin.F
<br>
pgf90 -c -fast fixed.F
<br>
pgf90 -c -fast forhar.f
<br>
pgf90 -c -fast gradient.F
<br>
pgf90 -c -fast grdsam.F
<br>
pgf90 -c -fast hsparse.f
<br>
pgf90 -c -fast idiag.f
<br>
pgf90 -c -fast initatom.f
<br>
pgf90 -c -fast initdm.F
<br>
pgf90 -c -fast inver.f
<br>
pgf90 -c -fast iodm.F
<br>
pgf90 -c -fast iohs.F
<br>
pgf90 -c -fast iolwf.F
<br>
pgf90 -c -fast iorho.F
<br>
pgf90 -c -fast ioxv.F
<br>
pgf90 -c -fast ipack.f
<br>
pgf90 -c -fast kgrid.F
<br>
pgf90 -c -fast kgridinit.F
<br>
pgf90 -c -fast kinefsm.f
<br>
pgf90 -c -fast ksv.F
<br>
pgf90 -c -fast ksvinit.f
<br>
pgf90 -c -fast madelung.F
<br>
pgf90 -c -fast matel.f
<br>
pgf90 -c -fast memory.F
<br>
pgf90 -c -fast minvec.f
<br>
pgf90 -c -fast mulliken.F
<br>
pgf90 -c -fast naefs.f
<br>
pgf90 -c -fast neighb.f
<br>
pgf90 -c -fast nlefsm.f
<br>
pgf90 -c -fast on_subs.F
<br>
pgf90 -c -fast ordern.F
<br>
pgf90 -c -fast outcell.f
<br>
pgf90 -c -fast outcoor.f
<br>
pgf90 -c -fast overfsm.f
<br>
pgf90 -c -fast paste.f
<br>
pgf90 -c -fast pdos.F
<br>
pgf90 -c -fast pdosg.F
<br>
pgf90 -c -fast pdosk.F
<br>
pgf90 -c -fast phirphi.f
<br>
pgf90 -c -fast pixmol.f
<br>
pgf90 -c -fast plcharge.F
<br>
pgf90 -c -fast timestamp.f
<br>
pgf90 -c -fast propor.f
<br>
pgf90 -c -fast pulayx.F
<br>
pgf90 -c -fast ranger.f
<br>
pgf90 -c -fast ran3.f
<br>
pgf90 -c -fast recipes.f
<br>
pgf90 -c -fast reclat.f
<br>
pgf90 -c -fast redata.F
<br>
pgf90 -c -fast redcel.F
<br>
pgf90 -c -fast reinit.F
<br>
pgf90 -c -fast reord.f
<br>
pgf90 -c -fast rhoofd.f
<br>
pgf90 -c -fast rhoofdsp.f
<br>
pgf90 -c -fast rhooda.f
<br>
pgf90 -c -fast savepsi.F
<br>
pgf90 -c -fast shaper.f
<br>
pgf90 -c -fast timer.F
<br>
pgf90 -c -fast vmb.F
<br>
pgf90 -c -fast vmat.f
<br>
pgf90 -c -fast vmatsp.f
<br>
pgf90 -c -fast volcel.f
<br>
pgf90 -c -fast xc.f
<br>
pgf90 -c -fast xijorb.f
<br>
pgf90 -c -fast cellxc.F
<br>
pgf90 -c -fast cdiag.F
<br>
pgf90 -c -fast rdiag.F
<br>
pgf90 -c -fast cgvc.F
<br>
pgf90 -c -fast iocg.f
<br>
pgf90 -c -fast ioeig.f
<br>
pgf90 -c -fast iofa.f
<br>
pgf90 -c -fast iokp.f
<br>
pgf90 -c -fast iomd.f
<br>
pgf90 -c -fast repol.F
<br>
pgf90 -c -fast typecell.f
<br>
pgf90 -c -fast ofc.f
<br>
pgf90 -c -fast poison.F
<br>
pgf90 -c -fast readsp.F
<br>
pgf90 -c -fast siesta.F
<br>
pgf90 -c -fast io.f
<br>
pgf90 -c -fast spin_init.f
<br>
pgf90 -c -fast coor.f
<br>
pgf90 -c -fast transfer.f
<br>
pgf90 -c -fast broadcast_basis.F
<br>
pgf90 -c -fast sig.f
<br>
pgf90 -c -fast eggbox.F
<br>
pgf90 -c -fast bsd.f
<br>
pgf90 -c -fast ../NETransport/leads_complex.F
<br>
pgf90 -c -fast ../NETransport/negf.F
<br>
pgf90 -c -fast ../NETransport/identify.f
<br>
pgf90 -c -fast ../NETransport/diagonal_alex.f
<br>
pgf90 -c -fast ../NETransport/misc.f
<br>
pgf90 -c -fast ../NETransport/selfenergy.F
<br>
pgf90 -c -fast gauleg.f
<br>
pgf90 -c -fast ../NETransport/transm.F
<br>
pgf90 -c -fast ../NETransport/invert.f
<br>
pgf90 -c -fast ../NETransport/decimate_leads.f
<br>
pgf90 -c -fast ../NETransport/gensvd.f
<br>
pgf90 -c -fast ../NETransport/rank.F
<br>
pgf90 -c -fast ../NETransport/negfk.F
<br>
pgf90 -c -fast ../NETransport/negf2g.f
<br>
pgf90 -c -fast ../NETransport/negf2k.f
<br>
pgf90 -c -fast ../NETransport/localdos.F
<br>
pgf90 -c -fast ../NETransport/gaucheb.f
<br>
pgf90 -c -fast linpack.F
<br>
cc linpack.o -o linpack
<br>
/usr/lib/gcc-lib/i386-redhat-linux/3.2/../../../crt1.o: In
<br>
function `_start':
<br>
/usr/lib/gcc-lib/i386-redhat-linux/3.2/../../../crt1.o(.text+0x18):
<br>
undefined reference to `main'
<br>
linpack.o: In function `zgedi_':
<br>
linpack.o(.text+0x2b9): undefined reference to `__mth_i_zcddiv'
<br>
linpack.o(.text+0x32e): undefined reference to `zscal_'
<br>
linpack.o(.text+0x3df): undefined reference to `zaxpy_'
<br>
linpack.o(.text+0x820): undefined reference to `zaxpy_'
<br>
linpack.o(.text+0x886): undefined reference to `zswap_'
<br>
linpack.o: In function `zgefa_':
<br>
linpack.o(.text+0xa49): undefined reference to `__mth_i_zcddiv'
<br>
linpack.o(.text+0xa9d): undefined reference to `zscal_'
<br>
linpack.o(.text+0xb75): undefined reference to `zaxpy_'
<br>
linpack.o: In function `.C2_285':
<br>
linpack.o(.data+0x3c): undefined reference to `pgf90_compiled'
<br>
collect2: ld returned 1 exit status
<br>
make: *** [linpack] Error 1
<br>
<br>
It seems that the problem is with the libraries but I could not solve
it. Will you please help?
<br>
Regards,
<br>
-- <br>
Haldun Sevincli
<br>
<br>
Bilkent Universitesi,
<br>
Fizik Bolumu,
<br>
06800, Ankara,
<br>
Turkiye.
<br>
<br>
web: <a class="moz-txt-link-freetext" href="http://www.fen.bilkent.edu.tr/~sevincli">http://www.fen.bilkent.edu.tr/~sevincli</a>
<br>
PGP Public Key: <a class="moz-txt-link-freetext" href="http://www.fen.bilkent.edu.tr/~sevincli/PGPpubkey">http://www.fen.bilkent.edu.tr/~sevincli/PGPpubkey</a>
<br>
<br>
tel : +90 312 290 21 48
<br>
fax : +90 312 266 45 79 </blockquote>
<br>
<br>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Haldun Sevincli
Bilkent Universitesi,
Fizik Bolumu,
06800, Ankara,
Turkiye.
web:                <a class="moz-txt-link-freetext" href="http://www.fen.bilkent.edu.tr/~sevincli">http://www.fen.bilkent.edu.tr/~sevincli</a>
PGP Public Key: <a class="moz-txt-link-freetext" href="http://www.fen.bilkent.edu.tr/~sevincli/PGPpubkey">http://www.fen.bilkent.edu.tr/~sevincli/PGPpubkey</a>
tel : +90 312 290 21 48
fax : +90 312 266 45 79
</pre>
</body>
</html>