Author Topic: Feap 8.6, shpf3ds  (Read 5708 times)

Axuni

  • Jr. Member
  • **
  • Posts: 18
Feap 8.6, shpf3ds
« on: July 23, 2020, 02:07:13 AM »
Dear all,

Edit: I am not sure if this is the correct section to post this

is it only me or in Feap 8.6, the file shpf3ds.f has a wrong definition:
Code: [Select]
subroutine shp3ds(ss, shpf)
...
end subroutine shp3ds

..notice the f missing. My compiler was complaining about it, because the subroutine shp3ds is already defined.
I manually changed the name and then it worked.

Thanks and regards,
Axuni

Prof. R.L. Taylor

  • Administrator
  • FEAP Guru
  • *****
  • Posts: 2647
Re: Feap 8.6, shpf3ds
« Reply #1 on: July 23, 2020, 09:47:10 AM »
Have you downloaded the latest version 8.6.1c? Hopefully it is correct there.  There should two files: shpf3ds.f (with shape functions only) and shp3ds.f with the shape functions and there derivatives w/r parent coordinates

Prof. S. Govindjee

  • Administrator
  • FEAP Guru
  • *****
  • Posts: 1160
Re: Feap 8.6, shpf3ds
« Reply #2 on: July 23, 2020, 10:04:24 AM »
As noted, please try re-downloading the code.  The current version should be fine.

JStorm

  • Sr. Member
  • ****
  • Posts: 250
Re: Feap 8.6, shpf3ds
« Reply #3 on: July 26, 2020, 11:48:18 PM »
I have just downloaded the recent archive and it turned out that the subroutine in shpf3ds.f has the wrong name "shp3ds".

The subroutine is only called in shpf3d.f. But compiling FEAP at Ubuntu does not raise an error. My compiler logfile tells me that shpf3ds.f was compiled before shp3ds. Thus (I guess), the wrong shp3ds subroutine was finally replaced by the correct one. But I am wondering that the linker was not complaining for the missing subroutine shpf3ds, because it is called in shpf3d.

Prof. S. Govindjee

  • Administrator
  • FEAP Guru
  • *****
  • Posts: 1160
Re: Feap 8.6, shpf3ds
« Reply #4 on: July 27, 2020, 01:52:52 AM »
Sorry.  Hard to catch this one for some reason, since my compilers do not complain.  I will look at it again (being more careful this time).

Prof. S. Govindjee

  • Administrator
  • FEAP Guru
  • *****
  • Posts: 1160
Re: Feap 8.6, shpf3ds
« Reply #5 on: July 27, 2020, 09:56:14 PM »
I have updated the download to v8.6.1d.
Please give this a try, hopefully, we've gotten it correct this time.

JStorm

  • Sr. Member
  • ****
  • Posts: 250
Re: Feap 8.6, shpf3ds
« Reply #6 on: July 27, 2020, 11:16:18 PM »
Thank you