Author Topic: Installaton of feap8.4 serial & arpack  (Read 20834 times)

FEAP_Admin

  • Administrator
  • FEAP Guru
  • *****
  • Posts: 993
Re: Installaton of feap8.4 serial & arpack
« Reply #15 on: April 25, 2014, 09:30:05 AM »
Did you re-link the code after deleting the file from the archive?  (cd main; make)

Prof. R.L. Taylor

  • Administrator
  • FEAP Guru
  • *****
  • Posts: 2647
Re: Installaton of feap8.4 serial & arpack
« Reply #16 on: April 25, 2014, 10:44:48 AM »
When you changed umacr10.f to umacr19.f did you change t he name of thesubroutine inside to umacr19 and also the definition  of  'ma10' to 'ma19'?  You need all these changes.  Then reload umacr19.f ( you should be able to leave it in the archive too???)

M. Kurdi

  • Full Member
  • ***
  • Posts: 149
Re: Installaton of feap8.4 serial & arpack
« Reply #17 on: April 25, 2014, 12:25:29 PM »
The linking error is attached.

I know that umacr19.o is a member of the arpacklib.a archive but this is not picked up.

The issue seems that the "make" utility is not working properly with what is in the arpack directory. For example if one does "/ver84/make clean" then "/ver84/make install" from I notice that the arpack archive never gets built like it is supposed to. The only way to build it is if I go in the directory and execute make. I tried to install on a Mac work station and the archives never get built as well.

Yes I changed name of subroutine and the definition of the macro. Thanks for checking.
« Last Edit: April 25, 2014, 02:14:58 PM by M. Kurdi »

Prof. R.L. Taylor

  • Administrator
  • FEAP Guru
  • *****
  • Posts: 2647
Re: Installaton of feap8.4 serial & arpack
« Reply #18 on: April 25, 2014, 03:04:47 PM »
Eigenvalues for unsymmetric matrices require complex arithmetic.  Feap has some complex arithmetic but the eigen problem is not coded for any complex forms.  If not too big maybe port to matlab.

FEAP_Admin

  • Administrator
  • FEAP Guru
  • *****
  • Posts: 993
Re: Installaton of feap8.4 serial & arpack
« Reply #19 on: April 25, 2014, 03:54:17 PM »
The items in the packages directories must always be build separately.

M. Kurdi

  • Full Member
  • ***
  • Posts: 149
Re: Installaton of feap8.4 serial & arpack
« Reply #20 on: April 25, 2014, 05:55:34 PM »
I am thinking of perhaps adding the non-symmetric option to arpack package as I think it is available in original arpack. Porting to matlab is an option I was trying to avoid.

Is there a reason why the user macro is not picked up from arpack archive even when it is available there?
« Last Edit: April 26, 2014, 02:25:33 PM by M. Kurdi »

M. Kurdi

  • Full Member
  • ***
  • Posts: 149
Re: Installaton of feap8.4 serial & arpack
« Reply #21 on: April 26, 2014, 02:29:53 PM »
I was able to install on a Mac machine. I used gfortran from http://gcc.gnu.org/wiki/GFortranBinaries#MacOS

The arpack library runs with no error or any changes to the makefile files. Unfortunately I am unable to advise anyone resolving error but to install a different compiler.

Prof. R.L. Taylor

  • Administrator
  • FEAP Guru
  • *****
  • Posts: 2647
Re: Installaton of feap8.4 serial & arpack
« Reply #22 on: April 27, 2014, 09:05:01 AM »
Are you sure that one of the files does not have the name 'umacr19'?  For example if you moved 'umacr19.f' to 'umacr10.f' then the name of the routine is still 'subroutine umacr19(....' in the umacr10.f file.

M. Kurdi

  • Full Member
  • ***
  • Posts: 149
Re: Installaton of feap8.4 serial & arpack
« Reply #23 on: April 27, 2014, 04:53:21 PM »
No sir this really not the issue here. The problem is that the macro in the archive or the whole archive in general of arpack didn't link correctly.
On the new machine when I had user umacr19 defined as not dummy the compiler complained that there are two conflicting object files ( with arpack umacr19) only after I commented the command name definition in the user macro that I was able to link umacr19.o.