- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
We have both windows solver in local windows machine and linux solver in high performance computer (hpc). We compile both solvers using Intel fortran compilers. In windows, we have intel visual fortran so I can specify platform either win32 or x64. On hpc linux, I always use the command line like
ifort -c *.f and ifort -o abc *.o
to compile and link and get the solver
Recently, we need improve the array size which exceed the limit of win32 allowed.
1.75G is the max, see the link http://redfort-software.intel.com/en-us/forums/showthread.php?t=71017
So we change the platform in windows from win32 to x64.
I don't know on hpc linux system
(1) the command listed above in linux is for 32 bit or 64 bit?
(2) if not, is there any command to specify to 64 bit
Thanks a lot!
ifort -c *.f and ifort -o abc *.o
to compile and link and get the solver
Recently, we need improve the array size which exceed the limit of win32 allowed.
1.75G is the max, see the link http://redfort-software.intel.com/en-us/forums/showthread.php?t=71017
So we change the platform in windows from win32 to x64.
I don't know on hpc linux system
(1) the command listed above in linux is for 32 bit or 64 bit?
(2) if not, is there any command to specify to 64 bit
Thanks a lot!
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
On Linux, you use an argument to a "source" command to specify the platform you want to compile for. (You do something similar on Windows in the command line.) This is how the ifort command becomes available. So what you want is to type:
source /opt/intel/bin/compilervars.sh intel64
Once you do that, "ifort" gets you the x64 compiler.
source /opt/intel/bin/compilervars.sh intel64
Once you do that, "ifort" gets you the x64 compiler.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks a lot!
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page