cmmr / virmap

GNU Affero General Public License v3.0
25 stars 14 forks source link

-bash: makeVirmapDb.pl: command not found #13

Open jingzhejiang opened 4 years ago

jingzhejiang commented 4 years ago

Hi,

I just follow your instructions to install VirMAP on a newly opened amazon linux2 instance (r5.2xlarge, 8 cores, 64Gb memory, 500Gb EBS root storage) (image: ami-07c8bc5c1ce9598c3), but stopped at makeVirmapDb.pl. Though I finished running './virmapInstall.pl' without any problems. When I run 'makeVirmapDb.pl --outputDir /scratch/VirmapDb', it came to the error '-bash: makeVirmapDb.pl: command not found'. I tried to find makeVirmapDb.pl with 'sudo find / -iname "makeVirmapDb.pl" -type f', but it came to nothing. Maybe the file "makeVirmapDb.pl" was not ready yet? So do I missed something?

Thank you!

torptube commented 4 years ago

After ./virmapInstall.pl finished, can you do an ls -l /usr/local/bin/ and echo $PATH and paste the output of both. Line 135 of the installer is supposed to link the database constructor script into /usr/local/bin/, and I am wondering if it didn't link on yours or the permissions are not set correctly for some reason.

torptube commented 4 years ago

Oh wait, I just noticed that you used a r5.2xlarge. The recommended machine needs to have a dedicated SSD instance store, so you should use either the c5d or r5d family of machines.

The installer doesn't fail out when lines fail. I should really fix that. Try running the installed on an r5d.2xlarge or higher.

jingzhejiang commented 4 years ago

Oh wait, I just noticed that you used a r5.2xlarge. The recommended machine needs to have a dedicated SSD instance store, so you should use either the c5d or r5d family of machines.

The installer doesn't fail out when lines fail. I should really fix that. Try running the installed on an r5d.2xlarge or higher.

YES! I see! Thank you!