Author Topic: Error LNK2001  (Read 4389 times)

Faezeh

  • New Member
  • *
  • Posts: 4
Error LNK2001
« on: May 19, 2014, 06:58:16 AM »
Hi,

I am working with Feappv Version 3.1, and I am modifying an element subroutine. when I build the project I recieve an error LNK2001: unresolved external symbol _DINPUT@8.

in the isw=1 there is call dinput (d,3) command, but apparently this is not in the library! Is there any alternative name for calling this?

Thank you. 

Prof. R.L. Taylor

  • Administrator
  • FEAP Guru
  • *****
  • Posts: 2648
Re: Error LNK2001
« Reply #1 on: May 19, 2014, 10:04:01 AM »
The routine dinput has been superceded by a routine pinput (which is a logical function:

Use:
        logical   errck, pinput


        errck = pinput(d,3)


If you want to track errors which occur then tinput = .true. (error mode) otherwise it is .false.