Ifort Error In Opening The Library Module File
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta error in opening the compiled module file. check include paths. netcdf Discuss the workings and policies of this site About Us Learn fortran .mod file more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us fortran module Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up The mysterious nature of Fortran 90 modules up vote 8 down vote favorite 3 Fortran 90 modules are evanescent creatures. I was using a (singular) module for a while with some success (compiling using Intel Visual Fortran and Visual Studio 2010). Then I wrote another module and tried to USE it in another function, before receiving this error: error #7002: Error in opening the compiled module file. Check INCLUDE paths. So I deleted the offending module. But now I receive the same error after when trying to access my original module! How can I locate these mysterious creatures? Why does one module work but not two? I'm assuming that I need to delete and recompile them, or tell the compiler to include them somehow. I know the file locations of the source code but not where they compile to. visual-studio-2010 fortran fortran90 fortran95 intel-fortran share|improve this question edited Jan 30 '15 at 3:00 davidism 34.1k104875 asked Sep 6 '12 at 19:06 frostbyyte 6939 add a comment| 1 Answer 1 active oldest votes up vote 26 down vote accepted For that specific processor (many other Fortran processors have similar characteristics, but the details differ): When a module is compiled successfully, the compiler generates a .mod file (and perhaps an .obj file) that contains information abou
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only http://stackoverflow.com/questions/12306740/the-mysterious-nature-of-fortran-90-modules takes a minute: Sign up Fortran file dependency with Intel ifort up vote 1 down vote favorite I am working in a standard Unix environment, with Intel Fortran 2012 compiler. since my codes have some old .f files and some newer .f90 files, the makefile is organized in the following structure, f_sources= ... ... f90_sources= ... ... f_objects = $(patsubst %.f,%.o,$(f_sources)) http://stackoverflow.com/questions/19862387/fortran-file-dependency-with-intel-ifort f90_objects = $(patsubst %.f90,%.o,$(f90_sources)) $(f_objects): %.o: %.f @echo compiling $< $(FC) $(FC_FLAGS) -c $< -o $@ # compile f90 files: $(f90_objects): %.o: %.f90 @echo compiling $< $(FC) $(FC_FLAGS) -c $< -o $@ The problem is, few strange .f files depend on the modules defined in some .f90 files, and then the compiler seems not able to detect the dependency since I compile first all the .f files... Error in opening the compiled module file. Check INCLUDE paths. Is there a way to solve this problem? module makefile fortran fortran90 share|improve this question edited Nov 8 '13 at 15:29 asked Nov 8 '13 at 15:15 lorniper 106113 1 Since use a_module is not valid FORTRAN77 why/how have you got .f files which depend on modules defined in .f90 files ? –High Performance Mark Nov 8 '13 at 15:20 1 If you have files that depend on other files then you need to tell make about that with prerequisite information. That's not specific to fortran in any way. –Etan Reisner Nov 8 '13 at 15:22 @EtanReisner in this specif
Status Archived Data Access Data Management Resource Center Software Display & Analysis AWIPS II GEMPAK IDV McIDAS Data Access & Management LDM LDM-McIDAS Decoders NetCDF NetCDF Java Rosetta http://www.unidata.ucar.edu/support/help/MailArchives/netcdf/msg11605.html THREDDS Data Server UDUNITS Deprecated Software GARP NetCDF Decoders NetCDF Perl Downloads Display & Analysis AWIPS II GEMPAK IDV McIDAS Data Access & Management LDM LDM-McIDAS Decoders NetCDF & NetCDF Java THREDDS Data Server UDUNITS Deprecated Software GARP NetCDF Decoders NetCDF Perl Terms & Conditions Provision of Software Support Support Resources Documentation Training Tutorials Mailing Lists Support Archives Submit a error in Request Suggested Support Process Email-Based Web-Based Terms & Conditions Obtaining Support Register as a User Community Outreach & Opportunities News from Unidata Unidata Events News from the Community Job Opportunities DeSouza Award Equipment Awards Summer Internships We Are Community Driven Participating Institutions Collaborations Education Resources Software & Data in Use How to Participate Acknowledging Unidata Governance Unidata's Governance Model Strategic Advisory error in opening Committee Users Committee Publications & Resources Bibliography Glossary of Terms Projects Current Projects ACADIS Case Studies Common Data Model CONDUIT Data Management Resource Center GALEON GEON IDV Google Africa Initiative GRIDSPEC HYDRO-NEXRAD Internet Data Distribution LibCF McIDAS-V Data Intercomparisons Next-Generation LDM OPULS OWCS Python RAMADDA in the Unidata Community Teaching Resources Project Archive News News from Unidata News from Unidata Unidata Events Unidata Developer's Blog News from the Community News From the Community Community Jobs News Archives Events Summer/Fall 2016 Software Training Workshop Unidata Events Calendar of Events Seminar Series Conferences & Meetings Unidata Workshops Training Workshops Triennial Workshops Regional Workshops Data Workshops About Us The Unidata Program Overview of Unidata Highlights & Reports Unidata Brochure Unidata Director's Page Our Organization Working Groups Staff Listing Contact Unidata Contact Information Visit Unidata Search Menu [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [netCDF #CAM-704494]: problem compiling netcdf f90 example To: address@hidden Subject: [netCDF #CAM-704494]: problem compiling netcdf f90 example From: "Unidata netCDF Support"
Date: Mon, 11 Feb 2013 15:39:18 -0700 Hi Tatiana, > I installed net