I am new to PGI Visual FORTRAN. I am using PGI Visual FORTRAN 2010 64/32 bit. I am migrating from Lahey to PGI, and I am getting a linking error that I am not familiar with. When I compile the code, I get the following error:
superprop4_impedance_MkII_BV26.obj : error LNK2019: unresolved external symbol _RAND@4 referenced in function _PPSO@92
superprop4_impedance_MkII_BV26.obj : error LNK2019: unresolved external symbol _WSPLINE@52 referenced in function _POPT@92
C:\AA My Work\FORTRAN Trials\First_Try\Prop_Try\Test_Prop\Test_Prop\Win32\Debug\Test_Prop.exe : fatal error LNK1120: 2 unresolved externals
Test_Prop build failed.
RAND is the intrinsic pseudorandom number generator function in FORTRAN, and WSPLINE is a subroutine created in the .f file. Does anyone have an idea why I am getting the linking error? I’ve searched online, and the closest answer I could come by is that I may need an extra library included, but that is as far as I could get. Thank you for any help.