Author Topic: FEAP interaction with .f90 subroutines  (Read 4542 times)

fede5590

  • New Member
  • *
  • Posts: 5
FEAP interaction with .f90 subroutines
« on: February 20, 2017, 07:51:00 AM »
Hi FEAP users,
I am running a FEAP version 8.3 on Windows and I wrote a new element in .f90 format (elmt51.f90).
Apparently FEAP has some issue with that because in the output file I get:

  *ERROR* ELMLIB: Element:     0, type number 51 input, isw =  1
 RANK =   0

Is there something that I need to set to use .f90 files with FEAP?
Thank you

Federica

Prof. R.L. Taylor

  • Administrator
  • FEAP Guru
  • *****
  • Posts: 2647
Re: FEAP interaction with .f90 subroutines
« Reply #1 on: February 20, 2017, 08:01:05 AM »
It should work fine.  However, FEAP only allows for 50 elements so try a lower number and things should be fine.

Prof. R.L. Taylor

  • Administrator
  • FEAP Guru
  • *****
  • Posts: 2647
Re: FEAP interaction with .f90 subroutines
« Reply #2 on: February 20, 2017, 08:06:49 AM »
One other thing is to make sure the file compiled.  If you are using Visual Studio it probaly do it. However, if you are using a makefile you may need to modify -- see the topics on compiling f90 in the topics list of the forum

fede5590

  • New Member
  • *
  • Posts: 5
Re: FEAP interaction with .f90 subroutines
« Reply #3 on: February 20, 2017, 08:22:41 AM »
Thank you very much Professor. I changed the number and now I get  *WARNING* Dummy subroutine called.
I am using Visual Studio 2010 and I am able to compile the file.
I tried with anther element but with a .f format and it works, so I really guess that the issue is related to the .f90 extension.

FEAP_Admin

  • Administrator
  • FEAP Guru
  • *****
  • Posts: 993
Re: FEAP interaction with .f90 subroutines
« Reply #4 on: February 20, 2017, 09:44:09 AM »
You need to make sure that visual studio is adding your new element to your project.