[Octopus-devel] gauge field
alberto.castro at tddft.org
alberto.castro at tddft.org
Tue Mar 31 16:53:09 WEST 2009
Hi,
Maybe I was responsible for adding that "recl" keyword, for the
td.general/coordinates file. The reason, if I remember properly, is
that there is a default maximum record length ("processor dependent"),
and the file td.general/coordinates may be much larger. For the file
"gauge_field", it is probably unnecessary.
Cheers, Al.
On Tue, 31 Mar 2009, Miguel Marques wrote:
> Hi Xavier,
>
> I noticed that the lithium test is failing with g95, and besides that
> it is giving a fortran run time error:
>
> Starting test run ...
> Executing: cd /tmp/octopus.1r1sZq;
> /root/pulpo/build-bot/x86_64_g95_test/build/_build/testsuite/../src/main/octopus
>> out
> At line 686 of file io_oct.f90 (Unit 10 "./td.general/gauge_field")
> Traceback: (Innermost first)
> Called from line 789 of file td_oct.f90
> Called from line 202 of file gauge_field_oct.f90
> Called from line 113 of file run_oct.f90
> Called from line 245 of file main_oct.f90
> Fortran runtime error: Reading more data than the record size (RECL)
> Finished test run.
>
> I guess that the problem comes from opening the file with an explicit
> record length (td.F90 line 727)
>
> record_length = 28 + 3*3*20
> call io_assign(iunit)
> open(unit = iunit, file = io_workpath('td.general/gauge_field'), &
> action='read', status='old', recl = record_length)
>
> Now, is it really necessary to have the record length?? Can we just open
> the file normally? I guess the error would simply vanish...
>
> cheers,
> Miguel
>
> --
> Dr. Miguel A. L. Marques
> marques at tddft.org
>
> Laboratoire de Physique de la Matière Condensée et Nanostructures
> (LPMCN) - Université Lyon I
> Bâtiment Brillouin, Domaine scientifique de la DOUA
> 69622 Villeurbanne Cedex
> Tel +33 (0)4 72448187
> Fax +33 (0)4 72432648
> _______________________________________________
> Octopus-devel mailing list
> Octopus-devel at tddft.org
> http://www.tddft.org/mailman/listinfo/octopus-devel
>
======================================================================
Dr. Alberto Castro
Institut fur Theoretisch Physik, Freie Universitat Berlin.
Arnimallee, 14, Berlin 14195 (Deutschland)
Tel: +49 30 83853028
Fax: +49 30 83855258
skype: alberto_c_barrigon
email: alberto at physik.fu-berlin.de
======================================================================
More information about the Octopus-devel
mailing list