In order to use fcm co
on ARCHER2 you need to add the following to your ~/.bash_profile
to pick up some additional perl modules required by FCM:
export PERL5LIB=/work/y07/shared/umshared/perl5/lib/perl5/x86_64-linux-thread-multi
If you don’t do this you will see error messages like:
ARCHER2-ex> fcm co fcm:socrates.x-tr
[FAIL] FCM::System::CM: required package cannot be loaded
[FAIL] Can't locate XML/Parser.pm in @INC (you may need to install the XML::Parser module)
(@INC contains: /lus/cls01095/work/y07/shared/umshared/software/fcm-2019.09.0/bin/../lib
/usr/lib/perl5/site_perl/5.26.1/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.26.1
/usr/lib/perl5/vendor_perl/5.26.1/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.26.1
/usr/lib/perl5/5.26.1/x86_64-linux-thread-multi /usr/lib/perl5/5.26.1 /usr/lib/perl5/site_perl)
at /lus/cls01095/work/y07/shared/umshared/software/fcm-2019.09.0/bin/../lib/FCM/System/CM/SVN.pm line 34.
[FAIL] BEGIN failed--compilation aborted at /lus/cls01095/work/y07/shared/umshared/software/fcm-2019.09.0/bin/../lib/FCM/System/CM/SVN.pm line 34.
[FAIL] Compilation failed in require at /lus/cls01095/work/y07/shared/umshared/software/fcm-2019.09.0/bin/../lib/FCM/System/CM.pm line 34.
[FAIL] BEGIN failed--compilation aborted at /lus/cls01095/work/y07/shared/umshared/software/fcm-2019.09.0/bin/../lib/FCM/System/CM.pm line 34.
[FAIL] Compilation failed in require at (eval 16) line 1.