- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am using the script to compile my programs:
#! /bin/csh/
echo compiling MineSweep...
ifort -module /mnt/share/mods -c /mnt/share/radar/ms1.1.f90 -I/mnt/share/mods
echo --Done--
echo compiling Mean Wind...
ifort -module /mnt/share/mods -c /mnt/share/narr/wind2.f90 -I/mnt/share/mods
echo --Done--
echo compiling ThOR...
ifort -check all -c thor1.1.f90 -I/mnt/share/mods
echo --Done--
echo Linking...
ifort /traceback -o /home/deadpickle/Desktop/thor1.1 thor1.1.o /mnt/share/mods/wind2.o /mnt/share/mods/ms1.1.o -L/usr/local/lib -lnetcdf -lw3
echo --Done--
I noticed that this does not output the *.o files that I need. Is there a way to specify where I want these files to be output too. I want them to go to the /mnt/share/mods folder with the modules.
#! /bin/csh/
echo compiling MineSweep...
ifort -module /mnt/share/mods -c /mnt/share/radar/ms1.1.f90 -I/mnt/share/mods
echo --Done--
echo compiling Mean Wind...
ifort -module /mnt/share/mods -c /mnt/share/narr/wind2.f90 -I/mnt/share/mods
echo --Done--
echo compiling ThOR...
ifort -check all -c thor1.1.f90 -I/mnt/share/mods
echo --Done--
echo Linking...
ifort /traceback -o /home/deadpickle/Desktop/thor1.1 thor1.1.o /mnt/share/mods/wind2.o /mnt/share/mods/ms1.1.o -L/usr/local/lib -lnetcdf -lw3
echo --Done--
I noticed that this does not output the *.o files that I need. Is there a way to specify where I want these files to be output too. I want them to go to the /mnt/share/mods folder with the modules.
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
-save-temps
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Quoting - Ronald Green (Intel)
-save-temps
-o
ron

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