- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Why is it when I specify ia32 on my 64bit Linux, IFC still compiles in 64bit.
This is in my bash file
PATH="/opt/intel/composer_xe_2015.3.187/bin/ia32:$PATH"
export PATH
LD_LIBRARY_PATH="/opt/intel/composer_xe_2015.3.187/bin/ia32:$LD_LIBRARY_PATH"
export LD_LIBRARY_PATH
This is what the beginning of my look file shows.
ifort -logo
Intel(R) Fortran Intel(R) 64 Compiler XE for applications running on Intel(R) 64, Version 15.0.3.187 Build 20150407
Copyright (C) 1985-2015 Intel Corporation. All rights reserved.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Instead of setting PATH explicitly, you should instead be using "source" on ifortvars.sh with "ia32" as an argument.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I used "source" with ia32 at the end and it still is compiling in 64bit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
It may be that you didn't install the IA-32 version or that you don't have the gcc 32-bit libraries installed.
What does "which ifort" say?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have the ia32 installed. There are 32bit folders in the INTEL instalation folder.
Which IFORT produces this
/opt/intel/composer_xe_2015.3.187/bin/ia32/ifort
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Ok, what is the exact size in bytes of ifort and fortcom in both the ia32 and intel64 subdirectories of bin?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
IA32
fortcom = 34,330,012 bytes
ifort = 3,388,696 bytes
intel64
fortcom = 44,840,248 bytes
ifort = 4,192,136 bytes
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Ok, that seems right. Now try this experiment. Termporarily rename the ifort in the intel64 folder and try the compile again. Please show the complete log of the attempt.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I renamed ifort in the INTEL64 folder and here is what i get
ifort -traceback -o auxx/select.x auxx/select.f make: ifort: Command not found make: [auxx/select.x] Error 127 (ignored) ifort -traceback -o auxx/cnv32.x auxx/cnv32.f make: ifort: Command not found make: [auxx/cnv32.x] Error 127 (ignored) /bin/sh: 1: auxx/select.x: not found make: [auxx/builderm.x] Error 127 (ignored) ifort -auto -ansi_alias- -pad_source -traceback \ -O0 -g -debug-parameters -o auxx/builderm.x builderm.for make: ifort: Command not found make: [auxx/builderm.x] Error 127 (ignored) ifort -traceback -o auxx/setdattim.x auxx/setdattim.f make: ifort: Command not found make: [auxx/setdattim.x] Error 127 (ignored) ifort -logo make: ifort: Command not found make: [all] Error 127 (ignored) if [ ! -d "o" ]; then mkdir "o"; fi cd envrl ; ls *.hh >filedoth ; ls *.ff >filedotf ; rm -f *.tch cd matpro ; ls *.hh >filedoth ; ls *.ff >filedotf ; rm -f *.tch cd relap ; ls *.hh >filedoth ; ls *.ff >filedotf ; rm -f *.tch cd scdap ; ls *.hh >filedoth ; ls *.ff >filedotf ; rm -f *.tch auxx/setdattim.x make: auxx/setdattim.x: Command not found make: [all] Error 127 (ignored) rm -f relap/blddattim.o ; rm -f o/blddattim.mod auxx/builderm.x makerlxp make: auxx/builderm.x: Command not found make: [all] Error 127 (ignored) cd steam ; make -f steamlnx.mak make[1]: Entering directory `/home/brianallison/issrs/rs40/rs40fa.x32.09.14 .2015/steam' ifort -c -O0 -g -auto -ansi_alias- -pad_source -o auxpk.obj auxpk.for make[1]: ifort: Command not found make[1]: [auxpk.obj] Error 127 (ignored) ifort -c -O0 -g -auto -ansi_alias- -pad_source -o eospk.obj eospk.for make[1]: ifort: Command not found make[1]: [eospk.obj] Error 127 (ignored) ifort -c -O0 -g -auto -ansi_alias- -pad_source -o intpk.obj intpk.for make[1]: ifort: Command not found make[1]: [intpk.obj] Error 127 (ignored) ifort -c -O0 -g -auto -ansi_alias- -pad_source -o proppk.obj proppk.for make[1]: ifort: Command not found make[1]: [proppk.obj] Error 127 (ignored) ifort -c -O0 -g -auto -ansi_alias- -pad_source -o solvpk.obj solvpk.for make[1]: ifort: Command not found make[1]: [solvpk.obj] Error 127 (ignored) ar rsv steam.a auxpk.obj eospk.obj intpk.obj proppk.obj solvpk.obj ar: creating steam.a ar: auxpk.obj: No such file or directory make[1]: [steam.a] Error 1 (ignored) make[1]: Leaving directory `/home/brianallison/issrs/rs40/rs40fa.x32.09.14 .2015/steam' cd .. make -f makrelap NM=o FFLAGS="-O2 -g -debug-parameters" FPSTOP= \ CONTMN= RK3D= O=o cpl= make[1]: Entering directory `/home/brianallison/issrs/rs40/rs40fa.x32.09.14 .2015' make[1]: makrelap: No such file or directory make[1]: *** No rule to make target `makrelap'. Stop. make[1]: Leaving directory `/home/brianallison/issrs/rs40/rs40fa.x32.09.14 .2015' make: [all] Error 2 (ignored)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I see you are doing this in a makefile. Please just try the ifort command from the command line (preceded by a "which ifort").
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
~/issrs/rs40/rs40fa.x32.09.14 .2015$ifort
bash: /opt/intel/composer_xe_2015.3.187/bin/ia32/ifort: No such file or directory
~/issrs/rs40/rs40fa.x32.09.14 .2015$which ifort
/opt/intel/composer_xe_2015.3.187/bin/ia32/ifort
~/issrs/rs40/rs40fa.x32.09.14 .2015$
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hmm.. I suggested renaming the ifort in the intel64 directory and now it says it can't find the ia32 version? Maybe you have disk corruption?
Perhaps try an uninstall and reinstall. (And try a newer version if you can. The 2015 series is now at Update 6 and there's 2016 Update 1.)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
How do you uninstall IFC on Linux?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
To uninstall on Linux*, removing the product should be done by the same user who installed it
(root or a non-root user). If sudo was used to install, it must be used to uninstall as well. It is not
possible to remove the compilers while leaving any of the performance libraries installed.
1. Open a terminal window and set default (cd) to any folder outside [install-dir]
2. Type the command: [installdir]/parallel_studio_xe_2016.
for a commandline
uninstall or [installdir]/parallel_studio_xe_2016.
for a GUI
uninstall.
3. Follow the prompts
4. Repeat steps 2 and 3 to remove additional platforms or versions
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page