Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
29236 Discussions

how to delete the old edition Intel compiler in MacOSX?

仁义_许_
Beginner
1,775 Views

how to delete the old edition Intel compiler in MacOSX?

0 Kudos
6 Replies
Steven_L_Intel1
Employee
1,775 Views

From the compiler release notes:

Removal/Uninstall
It is not possible to remove the compiler while leaving any of the performance library components installed.
1. Open Terminal and set default (cd) to any folder outside <install-dir>
2. Type the command:
<install-dir>/composer_xe_2015.<n>.<pkg>./uninstall_fcompxe.sh
3. Follow the prompts
If you are not currently logged in as root you will be asked for the root password

0 Kudos
仁义_许_
Beginner
1,775 Views

thank you, Steve.

I have delete the old edition, and test the new edition with some simple fortran code. It was built successfully, but could not launch.

warning: no rule to process file '/Users/xurenyi/Library/Developer/Xcode/DerivedData/Test-aprtkloyddmzqaaemmrikdidlnbx/Build/Products/Debug/Test' of type compiled.mach-o.executable for architecture x86_64

0 Kudos
Steven_L_Intel1
Employee
1,775 Views

I'm not familiar with the Mac environment - what command did you use to try to launch the executable?

0 Kudos
仁义_许_
Beginner
1,775 Views

Steve Lionel (Intel) wrote:

I'm not familiar with the Mac environment - what command did you use to try to launch the executable?

 

I test it in XCODE with very simple code such as

integer i

i=6

write(*,*)i

end

 It can be built successfully, but could not be launched

0 Kudos
Steven_L_Intel1
Employee
1,775 Views

Can you launch the program from a terminal window? Did you name the source file with a .f90 file type? The manual says:

  1. In the Xcode* Project Editor, select File > New > File... .
  2. Select Fortran in the left pane, and then select Fortran Fixed Format File or Fortran Free Format File in the upper right pane. Click Next.
  3. Enter a name for the file, including a Fortran source file extension, such as .f90, and select a location for the new file. Click Create

I am wondering if you just named the file "test" with no extension. Did you see the program compile and link successfully?  I suggest you read through the Using Xcode section of the compiler documentation to make sure you're doing everything correctly. Please note that due to Apple restrictions, Xcode doesn't allow for proper build dependency analysis for Fortran.

0 Kudos
仁义_许_
Beginner
1,775 Views

I followed the step

  1. Select the target you want to change and click Build Rules.

  2. Add a new rule by clicking Add Build Rule in the lower-right corner of the project editor.

  3. Under Process, choose Fortran source files.

  4. Under Using, select Intel® Fortran Compiler XE 15.0.

  5. Select the target to be built under Targets.

  6. Select Product > Build.  

I can't find the location of targets in step5.

0 Kudos
Reply