Hello to all OSCAR user,
I have some problems with lam with blcr. I try to build rpm files from your
source rpm by using command "rpmbuild --rebuild lam-oscar-7.1.2-5.src.rpm
--define "lam_name lam-with-blcr-oscar" --define "configs_options
--with-tm=/opt/pbs --with-cr-blcr=/usr" and i got this file,
lam-with-blcr-oscar-7.1.2-5.i386.rpm. Then, I build lam-switcher from spec file
that i eliminated the dependency of lam oscar in order to prevent the oscar to
install lam-oscar. If oscar installs lam-oscar, It will conflict with
lam-with-blcr and then It cannot build oscar client image. I also builid blcr
into rpm files.
After geting 2 files, lam-withblcr, and lam-switcher, I put these files into
oscar package and installed by using step 0 of oscar installation to download
lam-with-blcr and lam switcher. In step 1, I checked lam out and checked
lam-with-blcr instead. After installing, I reboot and the system cannot find
lamboot when I typed in the command line "which lamboot". Moreover, the shell
has some error. I will show it below. When I typed command switcher mpi
--list, It showed mpich-ch_p4-gcc-1.2.7, lam-7.1.2, openmpi-1.1.1. I typed
command switcher mpi = lam-7.1.2. It still the same error.
I would like to know how I get the correct lam-with-blcr from yoursource rpm? I
also want to know how many files do I need? two or three files,
lam-oscar-modulefile-7.1.2-5.noarch.rpm and
lam-with-blcr-oscar-7.1.2-5.i386.rpm only, or including
lam-oscar-modulefile-7.1.2-5.noarch.rpm too. Thank you very much.
Best Regards,
Thanadech Thanakornworakij
Shell error
#####################################################################################
mpi/lam-7.1.2(69):ERROR:102: Tcl command execution failed: if { $have_blcr == 1
&& $have_gm == 1 &&
[file exists $dir/lam-with-blcr-and-gm-oscar-$version] } {
module load $dir/lam-with-blcr-and-gm-oscar-$version
} elseif { $have_blcr == 0 && $have_gm == 1 &&
[file exists $dir/lam-with-gm-oscar-$version] } {
module load $dir/lam-with-gm-oscar-$version
} elseif { $have_blcr == 1 && $have_gm == 0 &&
[file exists $dir/lam-with-blcr-oscar-$version] } {
module load $dir/lam-with-blcr-oscar-$version
} elseif { [file exists $dir/lam-oscar-$version] } {
module load $dir/lam-oscar-$version
} else {
break
}
_________________________________________________________________
Shed those extra pounds with MSN and The Biggest Loser!
http://biggestloser.msn.com/
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Oscar-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/oscar-devel