- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I just installed the 6.5/6.5a update to my computer and I read that there is a /arch:p6p compiler switch that can optimize for the Pentium III. I found where to add this for individual programs, is there a way I can make this compiler option permanent? I tried to save the Fortran environment with this switch included, but the next time I load up a file, the switch is not activated. I've looked through the help file but it really doesn't cover this in any great detail. Thanks, Mitch
Link Copied
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I can't reproduce this problem - saving /arch:p6p in a saved environment and then using it on a new project works for me.
May I suggest using /arch:host (and /tune:host) instead? Or, better, you can use /fast ("Generate most optimal code") which is shorthand for /arch:host/tune:host/noaccuracy_sensitive/math_library:fast/align:dcommons.
Steve
May I suggest using /arch:host (and /tune:host) instead? Or, better, you can use /fast ("Generate most optimal code") which is shorthand for /arch:host/tune:host/noaccuracy_sensitive/math_library:fast/align:dcommons.
Steve
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
When you save the environment it asks to "Save Fortran Console Environment as". I've tried a few different names, but the next time I load a new file from scratch, all modifications to the /arch or /fast are gone. I look in the "Manage Saved Environments" area and see the ones I saved, but can't figure out how to use that particular environment automatically when loading in new files. Sorry for all the inconvenience. Thanks again, Mitch
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Saved environments are used when you create a new project - not when loading an existing one or adding files to an existing one. If, when you create a project, you have a saved environment of the right kind (Console, etc.), you'll get an additional prompt asking if you want to apply a saved environment.
Steve
Steve

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