上一页 1 2 3 4 5 6 7 8 ··· 16 下一页
  2014年1月3日
摘要: 若某一结点的GPFS文件系统服务进程失效或被杀死,重启该服务并自动挂载磁盘阵列:(1)在管理结点上重新激活失效节点:查看集群状态:mmgetstate -aLs启动结点5的GPFS守护进程:mmstartup -N node05(2)在失效结点上重启ganglia监控服务:service gmond restatr 阅读全文
posted @ 2014-01-03 10:20 yeahgis 阅读(407) 评论(0) 推荐(0) 编辑
  2013年12月25日
摘要: 今天才搞清楚,memset用于初始化数组,仅能初始化为0值,而不能初始化一个特定的值,这怎么能模糊了呢???因此,如果对申请的一段存放数组的内存进行初始化,每个数组元素均初始化为特定的值,必须使用循环遍历来解决。short* pBuffer = (short*)malloc(x_size*sizeof(short));memset(pBuffer, 0x00, x_size*sizeof(short));for (int j=0;j#include int main (){ char str[] = "almost every programmer should know memse 阅读全文
posted @ 2013-12-25 13:42 yeahgis 阅读(7751) 评论(1) 推荐(0) 编辑
  2013年12月23日
摘要: 向CUDA project中添加了如下的包含目录后:C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v5.5\include;..\include_p;..\include_p\gdal;..\include_p\mysql;..\include;..\include_cg;$(IncludePath)在main.cu中添加如下包含文件:#include #include #include #include #include #include #include "cuda_helloworld_kernel.cu"#in 阅读全文
posted @ 2013-12-23 17:14 yeahgis 阅读(1227) 评论(0) 推荐(0) 编辑
  2013年12月11日
摘要: 症状:通过虚拟IP能访问到监控页面:http://192.168.253.110/ipvsadm.php,但是却无法读出LVS任务分发及集群负载信息。打开ipvsadm.php页面,源码如下:";$i = 0;$table_begin = 0;while ($result) { $i++; $len = strpos ($result, "\n"); $line = substr ($result, 0, $len); $result = substr ($result, $len + 1); if ($i "); if ($isReal == 1) . 阅读全文
posted @ 2013-12-11 20:48 yeahgis 阅读(2088) 评论(0) 推荐(0) 编辑
摘要: 经过验证,集群管理结点mgt的IP配置应为如下所示:[root@mgt zmq]# ifconfig//外部网卡eth0 Link encap:Ethernet HWaddr 5C:F3:FC:E9:61:78 inet addr:192.168.253.100 Bcast:192.168.253.255 Mask:255.255.255.0 inet6 addr: 2001:cc0:2034:253:5ef3:fcff:fee9:6178/64 Scope:Global inet6 addr: fe80::5ef3:fcf... 阅读全文
posted @ 2013-12-11 17:26 yeahgis 阅读(634) 评论(0) 推荐(0) 编辑
摘要: 1、启动mgt结点的tomcat服务:[root@mgt zmq]# /home/geohpc/softwares/apache-tomcat-7.0.34/bin/startup.sh关闭为[root@mgt zmq]# /home/geohpc/softwares/apache-tomcat-7.0.34/bin/shutdown.sh2、正在每个结点启动/home/geohpc/bin/webservice.sh脚本:#!/bin/bashmapscapeservice='netstat -an | grep LISTEN | grep :9527'if [ " 阅读全文
posted @ 2013-12-11 17:16 yeahgis 阅读(1156) 评论(0) 推荐(0) 编辑
摘要: 查看管理结点mgt的网卡信息,为mgt设置VIP[root@mgt ~]# ifconfigeth0 Link encap:Ethernet HWaddr 5C:F3:FC:E9:61:78 inet addr:192.168.253.100 Bcast:192.168.253.255 Mask:255.255.255.0 inet6 addr: 2001:cc0:2034:253:5ef3:fcff:fee9:6178/64 Scope:Global inet6 addr: fe80::5ef3:fcff:fee9:617... 阅读全文
posted @ 2013-12-11 16:33 yeahgis 阅读(1877) 评论(0) 推荐(0) 编辑
摘要: 症状:笔记本是Acer 4745G,安装了Fedora16+Win7 x64的双系统,每次开机后,独立显卡的风扇就开始狂转,同时笔记本的发热量极大,左侧出风口简直烫手。。。。问题:Acer 4745G配置了双显卡,在WIn7下可以方便地切换,但是在linux下必须手动配置。查看系统当前使用的显示核心,如果像下面这样,说明正在使用2个核心工作:[geohpc@jeff-fedora ~]$ lspci|grep VGA00:02.0 VGA compatible controller: Intel Corporation Core Processor Integrated Graphics Co 阅读全文
posted @ 2013-12-11 12:58 yeahgis 阅读(1835) 评论(0) 推荐(0) 编辑
摘要: 1、MapScapeService绘图服务和gdapp算法服务的启动方法://使用端口9527[root@node03 ~]# nohup /home/geohpc/bin/s &//使用端口35569[root@node03 ~]# nohup /home/geohpc/bin/gdappwl &在每个计算节点上启动上述服务,查看是否已经启动;//MapScapeService监听9527端口[root@mgt softwares]# lsof -i:9527COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAMEMapScape. 阅读全文
posted @ 2013-12-11 01:04 yeahgis 阅读(1021) 评论(0) 推荐(0) 编辑
  2013年12月10日
该文被密码保护。 阅读全文
posted @ 2013-12-10 21:36 yeahgis 阅读(2) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 ··· 16 下一页