ここにあるクラスター上で、ブーストを使用してc++でプログラムを正常にコンパイルしました。シミュレーションを実行するには、SGEスクリプトを実行する必要があります。私が得るエラーはこれです
./main:共有ライブラリのロード中にエラーが発生しました:libboost_thread.so.1.45.0:共有オブジェクトファイルを開くことができません:そのようなファイルまたはディレクトリはありません
プログラムを起動するときにライブラリの名前を指定する必要がありますか?私が使用したスクリプトは以下のとおりです
#!/bin/sh
# (c) 2008 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.
# This is a simple example of a SGE batch script
# request Bourne shell as shell for job
#$ -S /bin/sh
#$ -N cr_number # this name shows in qstat
#$ -S /bin/bash # run with this shell
#$ -l h_rt=50:00:00 # need 50 hour runtime
#$ -pe mpich 4 # define parallel env
#$ -cwd # run the job in the directory specified.
#$ -o cr_number.out
#$ -e cr_number.err
# (-j will merge stdout and stderr)
#$ -notify
#$ -M user@abc.com - send mail about this job to the given email address.
#$ -m beas # send a mail to owner when the job
# begins (b), ends (e), aborted (a),
# and suspended(s). and suspended(s).
./main
ありがとうございました