Welcome!

Java Authors: Maureen O'Gara, Liz McMillan, Walter H. Pinson, III, Yakov Werde, Tony Bishop

Related Topics: Linux

Linux: Article

Running Fedora Core 5 Under Windows XP - Tips and Tricks

For one thing XP is extremely widespread and your clients and/or users probably have it installed on theirs PCs

Other Useful Tips & Tricks

The Fastest free FORTRAN
If you're running a well-established legacy scientific or technical FORTRAN application on a mainframe and happy with the results it's the right time to save money by migrating to modern PCs that have the performance of the old mainframe for a fraction of the cost. If you're going to buy time on a high-performance Linux grid, it will be useful to run a proof-of-concept of your application on the PC first. Fedora Core 5, Intel, and this article will give you such an opportunity by using the methods described below.

How To Choose the Fastest FORTRAN
You may want to run dwhet.f from my site www.myjavaserver.com/~akrivitsky/G77.html with different compilers and compare the results. Please see my article in JDJ Vol 10, issue 5, 2005, pp 16-18 (also available online at http://jdj.sys-con.com/read/83099.htm) on performance measurement.

Solving Intel FORTRAN 9.0 environmental problems
If you don't use your application for commercial purposes (for example, if you're trying different compilers to find the right one) you may want to use Intel FORTRAN. Intel Fortran 9.0 for non-commercial use is currently available from www.intel.com/cd/software/products/asmo-na/eng/compilers/flin/219857.htm. From a pure performance point-of-view it's the fastest free FORTRAN compiler at the moment. To make sure that this statement is correct you are welcome to try several of them with Dwhetstone. The path update can be done easy in .bash_profile. One has to write:
PATH=$PATH:/opt/intel/fc/9.0/binExport PATH.

However, there's a problem using it under Fedora Core 5. We need to set the LD_LIBRARY_PATH environmental variable. You can do it in a special .sh file called instead of ifort, but it's inconvenient. Trying to set up this variable in instance .profile or some other file will go to nowhere.

The solution is to put it into .bashrc file like this:
export LD_LIBRARY_PATH="/opt/intel/fc/9.0/lib"

After that you'll be able to run Intel FORTRAN and executables produced by this compiler under Fedora Core 5 without any problem.

Apache Web Server and cgi Scripts
Fedora Core 5 is shipped with Apache web server 2.2. The manual can be found at /var/www/manual/index.html and read with FireFox or Konqueror. To run the server one needs to issue the command /usr/sbin/apachectl -k start. You may want to put this command in a special .sh file and create a launcher using this file on a Gnome desktop. A similar thing can be useful to stop Apache, only this time the command will be /usr/sbin/apachectl -k stop. Default location of html documents for Apache 2.2 localhost is /var/www/html.

Default location of cgi scripts is /var/www/cgi-bin.

Export cgi-scripts from XP to Fedora Core 5: Problem Solved
From time to time all of us will meet infamous 500 error while exporting PERL scripts from one operating system to another one. In our case the problem can arise when exporting from XP to Fedora Core 5. Here's some simple advice that will save you countless hours of debugging. Try the dos2unix command. Yes, it's as simple as that. Most problems with scripts that runs perfectly okay under the Apache server on Windows XP and refuses to compile under Fedora Core 5 will disappear after dos2unix is run.

More Stories By Anatoly Krivitsky

Anatoly Krivitsky has a PhD in computer science and has more than 24 years of working experience in the IT field. He's the author of 20 published papers and books and five patents. For more information, please visit http://www.myjavaserver.com/~akrivitsky/index.html.

Comments (2) View Comments

Share your thoughts on this story.

Add your comment
You must be signed in to add a comment. Sign-in | Register

In accordance with our Comment Policy, we encourage comments that are on topic, relevant and to-the-point. We will remove comments that include profanity, personal attacks, racial slurs, threats of violence, or other inappropriate material that violates our Terms and Conditions, and will block users who make repeated violations. We ask all readers to expect diversity of opinion and to treat one another with dignity and respect.


Most Recent Comments
PSL 06/27/06 12:19:40 PM EDT

The links below contain the Fedora Core 5 2.6.17 VMWare image. You should be able to use it using the VMWare player (http://www.vmware.com/products/player/) with it.

http://rapidshare.de/files/24169188/2.6.17-1.2139_FC5.part01.rar
http://rapidshare.de/files/24170165/2.6.17-1.2139_FC5.part02.rar
http://rapidshare.de/files/24174249/2.6.17-1.2139_FC5.part03.rar
http://rapidshare.de/files/24175302/2.6.17-1.2139_FC5.part04.rar
http://rapidshare.de/files/24176555/2.6.17-1.2139_FC5.part05.rar
http://rapidshare.de/files/24178900/2.6.17-1.2139_FC5.part06.rar
http://rapidshare.de/files/24180940/2.6.17-1.2139_FC5.part07.rar
http://rapidshare.de/files/24187333/2.6.17-1.2139_FC5.part08.rar
http://rapidshare.de/files/24189573/2.6.17-1.2139_FC5.part09.rar
http://rapidshare.de/files/24190854/2.6.17-1.2139_FC5.part10.rar
http://rapidshare.de/files/24243055/2.6.17-1.2139_FC5.part11.rar
http://rapidshare.de/files/24244664/2.6.17-1.2139_FC5.part12.rar
http://rapidshare.de/files/24258508/2.6.17-1.2139_FC5.part13.rar
http://rapidshare.de/files/24261472/2.6.17-1.2139_FC5.part14.rar
http://rapidshare.de/files/24268490/2.6.17-1.2139_FC5.part15.rar
http://rapidshare.de/files/24269160/2.6.17-1.2139_FC5.part16.rar
http://rapidshare.de/files/24271928/2.6.17-1.2139_FC5.part17.rar
http://rapidshare.de/files/24272695/2.6.17-1.2139_FC5.part18.rar
http://rapidshare.de/files/24273921/2.6.17-1.2139_FC5.part19.rar
http://rapidshare.de/files/24278291/2.6.17-1.2139_FC5.part20.rar
http://rapidshare.de/files/24279557/2.6.17-1.2139_FC5.part21.rar
http://rapidshare.de/files/24280751/2.6.17-1.2139_FC5.part22.rar
http://rapidshare.de/files/24281893/2.6.17-1.2139_FC5.part23.rar

root password: thoughtpolice

This VMWare image was originally downloaded from http://www.thoughtpolice.co.uk and was patched with the latest updates.
VMWare tools are installed.

.NET News Desk 06/01/06 12:43:00 PM EDT

For one thing XP is extremely widespread and your clients and/or users probably have it installed on theirs PCs. In fact, most PCs come with XP pre-installed. And makers of peripheral devices and high-speed Internet providers adapt their products and services to work with XP. In most cases it's enough to simply plug a peripheral into an XP computer or to subscribe to a high-speed Internet service to start use it immediately.