- 
          
 - 
                Notifications
    
You must be signed in to change notification settings  - Fork 38
 
Description
I'm trying to develop and run a shell script that downloads unfactored composites from https://factordb.com at varying digit sizes depending on the time of day (larger ones starting in the evening, since it's okay if they take all night; smaller ones in the morning when I'm more likely to be close to needing the full use of one or more CPU cores on short notice), factors them using yafu, and then uploads the factors to factordb once they're found. Since applying the workarounds from #65, I've been able to build yafu and run it manually from the command line with no problems.
But whenever I launch yafu from inside the script, it exits right away with no output. This occurs even when I force Gnu parallel to run only one instance of yafu at a time via echo 1 > /tmp/scrape-composites-large-threads. May I please have some help troubleshooting this? yafu runs fine when I invoke it manually from the terminal, even with the same commands filtering the factors from the rest of the output. I've also searched my yafu.ini for potential problem sources like relative paths, and fixed all the ones I could find. I copied yafu.ini to yafu.ini.txt for this upload because of GitHub's file-extension filter.
4598915850751980764846236886103360228665376913009936422725913902469870602212435001588612092690171.log
scrape-composites.sh
scrape-composites-large.sh
session.log
yafu.ini.txt