Thanks a lot for your effort! On Fri, Jan 15, 2016 at 9:49 PM, Nick Papior <[email protected]> wrote:
> I mean "gfortran" command... If that was confusing. > > 2016-01-15 21:48 GMT+01:00 Nick Papior <[email protected]>: > >> I guess this is due to the f95 standard, see e.g. >> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=33106 >> >> I do not know if your f95 forces the f95 standard, have you tried with >> gfortran? >> Otherwise you may need to change the code manually. Or try another more >> up to date compiler. >> >> >> 2016-01-15 21:41 GMT+01:00 ticu Cubot <[email protected]>: >> >>> Another story: >>> >>> f95 --version >>> >>> GNU Fortran (GCC) 4.3.6 >>> Copyright (C) 2008 Free Software Foundation, Inc. >>> >>> ... >>> make clean; make >>> ... >>> f95 -c -g -O2 `FoX/FoX-config --fcflags` -DFC_HAVE_FLUSH >>> -DFC_HAVE_ABORT /home/ticu/siesta-trunk-462/Src/class_Vector.F90 >>> /home/ticu/siesta-trunk-462/Src/class_Vector.F90:20.13: >>> >>> type Vector >>> 1 >>> Error: The component 'data' is a PRIVATE type and cannot be a component >>> of 'vector', which is PUBLIC at (1) >>> make: *** [class_Vector.o] Error 1 >>> >>> That is, as with the ancient 4.1.2. >>> >>> On Fri, Jan 15, 2016 at 9:29 PM, ticu Cubot <[email protected]> wrote: >>> >>>> On a different machine: >>>> >>>> f95 --version >>>> GNU Fortran (GCC) 4.6.3 >>>> Copyright (C) 2011 Free Software Foundation, Inc. >>>> >>>> make >>>> ... >>>> /usr/bin/ld: warning: libgfortran.so.1, needed by >>>> /usr/lib/../lib64/liblapack.so, may conflict with libgfortran.so.3 >>>> >>>> The warning is not harmless... >>>> >>>> On Fri, Jan 15, 2016 at 8:50 PM, Nick Papior <[email protected]> >>>> wrote: >>>> >>>>> That is one ancient compiler. I would advice you to update. >>>>> >>>>> >>>>> 2016-01-15 20:45 GMT+01:00 ticu Cubot <[email protected]>: >>>>> >>>>>> f95 --version >>>>>> >>>>>> GNU Fortran (GCC) 4.1.2 20080704 (Red Hat 4.1.2-55) >>>>>> Copyright (C) 2007 Free Software Foundation, Inc. >>>>>> >>>>>> A fast workaround: edit the code. As the code seems to be compiled >>>>>> with all >>>>>> module components private by default one would have to modify only >>>>>> that one module. >>>>>> >>>>>> On Fri, Jan 15, 2016 at 3:52 PM, Nick Papior <[email protected]> >>>>>> wrote: >>>>>> >>>>>>> Try a different compiler. >>>>>>> >>>>>>> Which version of your compiler are you using? >>>>>>> >>>>>>> 2016-01-15 15:42 GMT+01:00 ticu Cubot <[email protected]>: >>>>>>> >>>>>>>> Dear Siesta users, >>>>>>>> >>>>>>>> I had the following problem by installation in the standard manner >>>>>>>> indicated in the manual: >>>>>>>> >>>>>>>> pwd >>>>>>>> >>>>>>>> /home/ticu/siesta-trunk-462/Obj >>>>>>>> ... was ok. >>>>>>>> >>>>>>>> ../Src/configure >>>>>>>> ... was ok >>>>>>>> >>>>>>>> make >>>>>>>> .... >>>>>>>> f95 -c -g -O2 `FoX/FoX-config --fcflags` -DFC_HAVE_FLUSH >>>>>>>> -DFC_HAVE_ABORT /home/ticu/siesta-trunk-462/Src/class_Vector.F90 >>>>>>>> >>>>>>>> In file /home/ticu/siesta-trunk-462/Src/class_Vector.F90:20 >>>>>>>> >>>>>>>> type Vector >>>>>>>> 1 >>>>>>>> Error: The component 'data' is a PRIVATE type and cannot be a >>>>>>>> component of 'vector', which is PUBLIC at (1) >>>>>>>> make: *** [class_Vector.o] Error 1 >>>>>>>> ~ >>>>>>>> >>>>>>>> Full details in the attachment. >>>>>>>> >>>>>>>> Any help most appreciated. >>>>>>>> >>>>>>>> ticu >>>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> -- >>>>>>> Kind regards Nick >>>>>>> >>>>>> >>>>>> >>>>> >>>>> >>>>> -- >>>>> Kind regards Nick >>>>> >>>> >>>> >>> >> >> >> -- >> Kind regards Nick >> > > > > -- > Kind regards Nick >
