Silverfrost Forums

Welcome to our forums

Implement NETCDF.dll Win 64bit + Error 404

13 Jan 2012 3:31 #9462

Hi

I am new to Fortran 95 and using Plato on a 64bit Windows System. I want to run an application which calls different modules (use test, use test2,...). I got several error messages:

1st: Error 404 -- Cannot find definition for Module xyz 2nd: Error 404 -- Cannot find definition for NETCDF

I tried to fix the NETCDF problem and downloaded the netcdf lib and *.dll for Windows. I created a new project and linked (with references) the library and *.dll file. The 2nd error message still appears. What am I doing wrong?

The modules are in the same folder as the main program.

Thanks for help!

This is my Output Code:

Compiling file: kDistribution.f95
C:\\Users\\Gabriel\\Desktop\\Schatz\\I3RC\\SourceCode\\I3RC\\Code\\kDistribution.F95(177) : warning 767 - The argument PROFILENUMBER has not been used
C:\\Users\\Gabriel\\Desktop\\Schatz\\I3RC\\SourceCode\\I3RC\\Code\\kDistribution.F95(178) : warning 767 - The argument ZPOSITION has not been used
C:\\Users\\Gabriel\\Desktop\\Schatz\\I3RC\\SourceCode\\I3RC\\Code\\kDistribution.F95(179) : warning 767 - The argument ABSORPTIONPROFILE has not been used
C:\\Users\\Gabriel\\Desktop\\Schatz\\I3RC\\SourceCode\\I3RC\\Code\\kDistribution.F95(180) : warning 767 - The argument WEIGHT has not been used
C:\\Users\\Gabriel\\Desktop\\Schatz\\I3RC\\SourceCode\\I3RC\\Code\\kDistribution.F95(211) : error 199 - Array ABSORPTIONPROFILES appears in this expression as rank 1, but was declared as rank 2
Compilation failed.
Compiling file: multipleProcesses_mpi.f95
C:\\Users\\Gabriel\\Desktop\\Schatz\\I3RC\\SourceCode\\I3RC\\Code\\multipleProcesses_mpi.F95(15) : error 1 - INCLUDE file 'C:\\Users\\Gabriel\\Desktop\\Schatz\\I3RC\\SourceCode\\I3RC\\I3RC-Examples\\mpif.h' cannot be opened
Compilation failed.
Compiling file: RandomNumbersForMC.f95
C:\\Users\\Gabriel\\Desktop\\Schatz\\I3RC\\SourceCode\\I3RC\\Code\\RandomNumbersForMC.F95(302) : error 404 - Cannot find definition for MODULE NETCDF
Compilation failed.
Compiling file: monteCarloIllumination.f95
C:\\Users\\Gabriel\\Desktop\\Schatz\\I3RC\\SourceCode\\I3RC\\Code\\monteCarloIllumination.F95(18) : error 404 - Cannot find definition for MODULE RANDOMNUMBERS
Compilation failed.
Compiling file: scatteringPhaseFunctions.f95
C:\\Users\\Gabriel\\Desktop\\Schatz\\I3RC\\SourceCode\\I3RC\\Code\\scatteringPhaseFunctions.F95(898) : error 404 - Cannot find definition for MODULE NETCDF
Compilation failed.
Compiling file: inversePhaseFunctions.f95
C:\\Users\\Gabriel\\Desktop\\Schatz\\I3RC\\SourceCode\\I3RC\\Code\\inversePhaseFunctions.F95(18) : error 404 - Cannot find definition for MODULE SCATTERINGPHASEFUNCTIONS
Compilation failed.
Compiling file: opticalProperties.f95
C:\\Users\\Gabriel\\Desktop\\Schatz\\I3RC\\SourceCode\\I3RC\\Code\\opticalProperties.F95(17) : error 404 - Cannot find definition for MODULE SCATTERINGPHASEFUNCTIONS
Compilation failed.
Compiling file: userInterface_Unix.f95
C:\\Users\\Gabriel\\Desktop\\Schatz\\I3RC\\SourceCode\\I3RC\\Code\\userInterface_Unix.F95(89) : comment 1031 - This IF statement is redundant as it will always succeed
C:\\Users\\Gabriel\\Desktop\\Schatz\\I3RC\\SourceCode\\I3RC\\Code\\userInterface_Unix.F95(84) : error 283 - IARGC must appear in a type declaration because IMPLICIT NONE has been used
Compilation failed.
Please login to reply.