- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I recently updated the compilers from 2015 to 2017 on my Mac Pro (running El Capitan), and now whenever I compile anything (Fortran or C), during the linking step I get the following errors:
ld: warning: directory not found for option '-L/opt/intel/composer_xe_2015.2.132/compiler/lib'
ld: warning: directory not found for option '-L/opt/intel/composer_xe_2015.2.132/mkl/lib'
ld: warning: directory not found for option '-L/opt/intel/composer_xe_2015.3.187/ipp/../compiler/lib'
ld: warning: directory not found for option '-L/opt/intel/composer_xe_2015.3.187/ipp/lib'
ld: warning: directory not found for option '-L/opt/intel/composer_xe_2015.2.132/tbb/lib'
I'm guessing that what's happening is that even though I uninstalled the 2015 compiler, somehow the linker is still looking for it. It still compiles the code, so really the warning is more of an annoyance rather than a hindrance. However, I have no idea how to get rid of the old folders from the linker path? I've tried searching around but can't find anything useful.
And it does this whether or not I do source /opt/intel/compilers_and_libraries/mac/bin/compilervars.sh intel64
Thanks,
-Alex
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
It is not clear what leads to inclusion of those 2015 paths. Did you uninstall all the different 2015 updates that are visible in the messages? Which particular 2017 release did you install? What Xcode do you have installed?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes, I ran the uninstall scripts in all of the old versions of the compiler prior to installing the new version. Specifically, I'm running Compose XE 2017, version 17.0.1. Xcode is version 8.1.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I reproduced this at least one way. Please check if you have the LIBRARY_PATH environment variable set that contains those paths and if so then remove any that are no longer needed and retry the compilation.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you, Kevin! That appears to have done the trick.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Great, glad that was it.
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page