, but this code // executes before the first paint, when

麻豆区

is not yet present. The // classes are added to so styling immediately reflects the current // toolbar state. The classes are removed after the toolbar completes // initialization. const classesToAdd = ['toolbar-loading', 'toolbar-anti-flicker']; if (toolbarState) { const { orientation, hasActiveTab, isFixed, activeTray, activeTabId, isOriented, userButtonMinWidth } = toolbarState; classesToAdd.push( orientation ? `toolbar-` + orientation + `` : 'toolbar-horizontal', ); if (hasActiveTab !== false) { classesToAdd.push('toolbar-tray-open'); } if (isFixed) { classesToAdd.push('toolbar-fixed'); } if (isOriented) { classesToAdd.push('toolbar-oriented'); } if (activeTray) { // These styles are added so the active tab/tray styles are present // immediately instead of "flickering" on as the toolbar initializes. In // instances where a tray is lazy loaded, these styles facilitate the // lazy loaded tray appearing gracefully and without reflow. const styleContent = ` .toolbar-loading #` + activeTabId + ` { background-image: linear-gradient(rgba(255, 255, 255, 0.25) 20%, transparent 200%); } .toolbar-loading #` + activeTabId + `-tray { display: block; box-shadow: -1px 0 5px 2px rgb(0 0 0 / 33%); border-right: 1px solid #aaa; background-color: #f5f5f5; z-index: 0; } .toolbar-loading.toolbar-vertical.toolbar-tray-open #` + activeTabId + `-tray { width: 15rem; height: 100vh; } .toolbar-loading.toolbar-horizontal :not(#` + activeTray + `) > .toolbar-lining {opacity: 0}`; const style = document.createElement('style'); style.textContent = styleContent; style.setAttribute('data-toolbar-anti-flicker-loading', true); document.querySelector('head').appendChild(style); if (userButtonMinWidth) { const userButtonStyle = document.createElement('style'); userButtonStyle.textContent = `#toolbar-item-user {min-width: ` + userButtonMinWidth +`px;}` document.querySelector('head').appendChild(userButtonStyle); } } } document.querySelector('html').classList.add(...classesToAdd); })(); Building A Supercomputer - News & Stories | 麻豆区

麻豆区

Skip to main content

Calvin News

Building A Supercomputer

Wed, Aug 30, 2000
N/A

Calvin College will soon have its very first supercomputer. Computer science professor (left) has earned a $163,000 grant from the National Science Foundation to build a supercomputer and study its performance. He hopes to get the check from NSF on or about September 1 and begin buying the supercomputer "parts" soon thereafter. Plans are to assemble the supercomputer this fall and tune it next spring in order to have it ready for summer 2001 research work.

Just building the supercomputer promises to be a resume booster for Calvin College computer science students (there are about 100 computer science majors at Calvin). Adams and professor David Laverell will take the lead on the project, but will depend heavily on students in Calvin's "Computer Networks" course as well as students from the Calvin Linux Users Group.

Says Adams: "Building (the supercomputer) will involve a wide variety of students in a very practical, yet fairly rare, activity. This will be a fun and significant experience for our students."

Calvin's supercomputer will actually be a cluster (known as a " cluster"), consisting of , two higher-end workstations to control them, a fiber-optic network to allow the PCs to communicate with each other and software that enables the cluster to act together as a single supercomputer. When it's assembled the Calvin supercomputer will have over 100 times the power of the Cray-1, one of the world's first supercomputers from the mid-1970s.

"Needing to solve a computer-intensive problem is a little like needing to lift a 100 pound stone slab," says Adams. "One way to do it is to find an unusually strong person who can lift the slab. This is the equivalent of using a traditional supercomputer to solve the problem. Or you can find four normal people who can each lift 25 pounds and get tem to lift at the same time. This is the equivalent of using a cluster of PCs that in combination provides the power of a supercomputer. This technique, which we will use, was pioneered at NASA in the mid-1990s."

To study its performance, the supercomputer's configuration will be varied over three years, so that the performance of different configurations on different kinds of problems can be compared. Anyone (including students) with big computational problems will be welcome to use it. A half dozen Calvin faculty already have expressed an interest in using the supercomputer, including professors from computer science, chemistry, engineering and physics. One chemistry professor does molecular modeling that currently takes some 30 days to process. The new supercomputer should do the job in two days.

The supercomputer promises to be a community resource as well. Adams says other local colleges, community groups, medical research institutes and more also will be able to use the supercomputer as it is available. This NSF grant to Calvin to build a supercomputer is rare since most such grants go to Ph.D. institutions. However, Calvin does rank in the top three percent of all four-year, private colleges for number of graduates who go on to earn a Ph.D.