IBM®
跳转到主要内容
    中国 [选择]    使用条款
 
 
Select a scope: Search for:    
    首页    产品    服务与解决方案     支持与下载    个性化服务    
跳转到主要内容

developerWorks 中国  >  Grid computing  >

Crunch big numbers with GT3 using a quadratic sieve

Listing 8: Running the factorization client

developerWorks

Return to article.

# Set up your OGSA env
$ /opt/ogsa.root>setenv.sh

# Add the Factorization classes to the CP
$ (win32)Factorization>set CLASSPATH=%CLASSPATH%;classes
$ (linux) Factorization>export CLASSPATH=$CLASSPATH:classes

# Run the client (Win32/Linux)
# An instance named (FAC) must be created first.
$ Factorization>java factorization.client.FactorizationClient -factory
	http://localhost:8080/ogsa/services/factorization/factory/FactorizationService/FAC
	-n 12321321312312312312312312122 -out c:\\temp\\fac.txt

Return to article.

    关于 IBM 隐私条约 联系 IBM 使用条款