| Summary: | modules to be searched | ||
|---|---|---|---|
| Product: | [Tools] PTP | Reporter: | Daniel Harenberg <dharenberg> |
| Component: | Photran.Refactoring Engine | Assignee: | Photran Inbox <photran-inbox> |
| Status: | NEW --- | QA Contact: | |
| Severity: | major | ||
| Priority: | P4 | CC: | com-eclipse-dot-org, dharenberg, miyamoto.musashi |
| Version: | 8.0.2 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| Whiteboard: | |||
|
Description
Daniel Harenberg
Hi Daniel, When the modules reside elsewhere in the file system, do you typically have source code available for the module? Photran isn't able to read .mod files, since the file format varies from compiler to compiler. We omitted the ability to add non-workspace paths since we didn't expect source code to be available for system-wide modules. If source code *is* available, then, yes, this wouldn't be too hard to add. I suppose it would also be possible to find .mod files and treat them as a black box -- we know the module exists, but we don't know what's in it -- although I'm not sure how helpful that would be... it would only serve to eliminate the error messages... (In reply to comment #1) Hi Jeff, I would expect numerical packages - like BLAS, LAPACK, or commercial ones like IMSL- to reside outside a particular workspace. However, I am not a software engineer or anything related and do not have much experience. BLAS and LAPACK (widely used I believe) are open source, whereas IMSL is not, but maybe IMSL provides the source code for the interfaces. It's been a while since I reported this, so I don't remember the details, but I believe that the reason I opened this bug was that if the indexer can't find all modules (so that the error message appears), then one can't use any of the refactorings. In that case, it would suffice to treat .mod files as a black box - the indexer simply needs to understand that this is a user-supplied module, so that the error message won't appear and I can proceed with using refactorings. Problem still there in Eclipse Juno, PTP 6.0.2/Photran 8.0.2. The View 'Photran Analysis/Refactoring Problems' contains several items saying 'There are no files that export a module named xxxx'. One example is ieee_arithmetic, which is an extension in the Intel Compiler, other examples are MKL (math kernel library) or LAPACK modules. Hi, Found this ancient report but nothing seems to have happened since then. I have multiple external libraries outside of my workspace and still (Eclipse Mars.1 Release (4.5.1) / Photran 9.1. Would it cause a big mess to include this feature? It would help me a lot. Also, for large projects, it's not uncommon to have files and folders placed outside one's workspace. Thanks a lot for your help. It's highly appreciated. Very best, Kei |