To install a Fortran compiler (gFortran) to be used within the Code::Blocks IDE editor:
- Go to http://www.codeblocks.org/downloads
- Click on “Download the binary release”
- Click on “Windows 2000/XP/Vista/7//8”
- Click on “codeblocks-13.12mingw-setup.exe” to download from SourceForge.net
- Once downloaded (~100MB), install Code::Blocks IDE
- Full installation
- Destination “Program Files\CodeBlocks”
- “Do you want to run CodeBlocks now?” NO
- Start Code::Blocks from the shortcut on Desktop (or find in programs)
- When the IDE opens, go to “Settings” > “Compiler…”
- From the “Selected Compiler” option, select the “GNU Fortran Compiler” from the list
- From below, select “Toolchain executables” TAB
- Now check that the “Compilers installation directory” is set to the MinGW folder within Codeblocks
- Click Ok to close the options dialog, close Code::Blocks and re-open
- You should now be able to create and compile Fortran sources
Create a simple program (try .f90 or .f95 or .f) and compile:
print*, ‘Hello Fortran’
You receive the following error when you try to delete a local user account in Windows XP Home:
[text]Remove Domain Name\Computer Name.
Error 1377: The specified account name is not a member of the local group.
Error removing Domain Name\Computer Name.[/text]
This may be due to a corrupted user profile and usually occurs when a user account has been added/removed to various user groups or may be also caused by using a password reset utility like NT Password Editor.
A solid fix to this problem:
- Log-in to Safe Mode using the local Administrator account.
- Go to Run and execute the command:
This will fire up the Control Panel item for user accounts management not normally available in the Home Edition.
- Select and delete/remove the corrupted user profile.
Note: The local folder is not being deleted, only the user account. Delete the folder manually if needed.
You can check the health of your hard disk by using a command in Windows (S.M.A.R.T.).
- Start a cmd window
- diskdrive get status
This should output the following result:
- Repartition and format the USB: Primary volume, 4k cluster size (default), FAT32 format.
- XBoot requires dot.NET Framework 4.0 installed on the system it will be run off
- Download a copy of XBoot 1.0 beta 14 and run it, not install required!
- Download your favourite ISO distros and drag-n-drop them on the XBoot “Drag-n-drop Box”
(each one will prompt you what type of boot-loader it needs, major distros are listed and if not
you should choose ISO file -iso/scan parameter for Linux distros and GrubForDOS iso emulation
for Windows distros)
- Click on “Create USB”
- Select the USB from the list of drives and set boot-loader to Syslinux
- After a few minutes the drive will be ready
If you need to update an ISO already added, just drag the updated ISO to XBoot (keep same name as
previous entry) and Create USB without the boot-loader. This may be a bit messy sometimes but is doable to some extent. Most of the times you will have your menu changed, but you could edit it after the iso omport.
- You can use the internal QEMU emulator to check your USB or even better boot directly from a PC
- You can also check this out for installing and using a permanent emulator for booting USBs
- I have found that XBoot acts a bit weird on a 64bit Windows, at least surely Windows 8
Firstly, insert your USB (WARNING: the following steps will erase ALL DATA on selected USB!!).
Open a cmd prompt and type “diskpart” to start the partitioning program:
[bash]list disk # <– to list the disks on the system
# Disk ### Status Size Free Dyn Gpt
# ——– ————- ——- ——- — —
# Disk 0 Online 931 GB 3072 KB
# Disk 1 Online 1944 MB 0 B
# Disk 2 Online 7498 MB 0 B <– this will be our selected disk
select disk 2
# Disk 2 is now the selected disk.
# DiskPart succeeded in cleaning the disk.
create primary partition
# DiskPart succeeded in creating the specified partition.
select partition 1
# Partition 1 is now the selected partition.
active # <– make the partition active
# DiskPart marked the current partition as active.
format fs=ntfs quick
assign # <– assign a letter to the drive
# DiskPart successfully assigned the drive letter or mount point.[/bash]
Your drive is now ready to copy a loaded iso DVD of your version of Windows.