- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Our FORTRAN projects can be built successfully in VS 2022 with IFORT compiler.
After switched to IFX(no code changes), got two kinds of link errors for some functions/subroutines:
- undefined symbol
- duplicate symbol
What FORTRAN project properties need to be set/modify to solve these errors?
Thanks.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You should not need to adjust anything. Please show the actual errors. Better is if you ZIP the buildlog.htm and attach the zip here. Best is if you zip the entire project and attach it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks, Steve.
It's not allowed to attach the code here.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
What is the symbol name and can you provide a simple example.
Are you using implicit none?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks, John.
The errors were thrown out of 2 big FORTRAN projects. Project 1 depends on project 2.
Yes, we are using "implicit none".
What's the issue to use it with IFX compiler?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
There is no issue using IMPLICIT NONE with IFX.
Please construct a minimal example that demonstrates the problem. Otherwise, everyone's time is being wasted.

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page